Skip to content

Commit 8b9fccd

Browse files
lint fixes
Signed-off-by: Rohit Yadav <[email protected]>
1 parent 61094a9 commit 8b9fccd

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

ui/src/components/widgets/InstanceView.vue

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
<template v-for="(tag, index) in tags">
5555
<a-tooltip v-if="tag.length > 20" :key="tag" :title="tag">
5656
<a-tag :key="tag" :closable="index !== 0" :afterClose="() => handleClose(tag)">
57-
{{`${tag.slice(0, 20)}...`}}
57+
{{ `${tag.slice(0, 20)}...` }}
5858
</a-tag>
5959
</a-tooltip>
6060
<a-tag v-else :key="tag" :closable="index !== 0" :afterClose="() => handleClose(tag)">
61-
{{tag}}
61+
{{ tag }}
6262
</a-tag>
6363
</template>
6464

@@ -77,7 +77,6 @@
7777
<a-icon type="plus" /> New Tag
7878
</a-tag>
7979

80-
8180
</a-col>
8281

8382
<a-col :span="16">
@@ -164,8 +163,6 @@
164163

165164
</a-col>
166165

167-
168-
169166
</a-row>
170167

171168
</div>
@@ -195,7 +192,7 @@ export default {
195192
osLogo: 'linux',
196193
tags: [],
197194
inputVisible: false,
198-
inputValue: '',
195+
inputValue: ''
199196
}
200197
},
201198
watch: {
@@ -224,7 +221,7 @@ export default {
224221
Object.assign(this, {
225222
tags,
226223
inputVisible: false,
227-
inputValue: '',
224+
inputValue: ''
228225
})
229226
},
230227

ui/src/components/widgets/Status.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
{{ text }}
55
</template>
66
<span>
7-
<a-badge :title="text" :status="getBadgeStatus(text)" />
8-
<span v-if="displayText">{{ text }}</span>
7+
<a-badge :title="text" :status="getBadgeStatus(text)" />
8+
<span v-if="displayText">{{ text }}</span>
99
</span>
1010
</a-tooltip>
1111
</template>

0 commit comments

Comments
 (0)