mirror of https://github.com/apache/cloudstack.git
lint fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
61094a9080
commit
8b9fccdf11
|
|
@ -54,11 +54,11 @@
|
|||
<template v-for="(tag, index) in tags">
|
||||
<a-tooltip v-if="tag.length > 20" :key="tag" :title="tag">
|
||||
<a-tag :key="tag" :closable="index !== 0" :afterClose="() => handleClose(tag)">
|
||||
{{`${tag.slice(0, 20)}...`}}
|
||||
{{ `${tag.slice(0, 20)}...` }}
|
||||
</a-tag>
|
||||
</a-tooltip>
|
||||
<a-tag v-else :key="tag" :closable="index !== 0" :afterClose="() => handleClose(tag)">
|
||||
{{tag}}
|
||||
{{ tag }}
|
||||
</a-tag>
|
||||
</template>
|
||||
|
||||
|
|
@ -77,7 +77,6 @@
|
|||
<a-icon type="plus" /> New Tag
|
||||
</a-tag>
|
||||
|
||||
|
||||
</a-col>
|
||||
|
||||
<a-col :span="16">
|
||||
|
|
@ -164,8 +163,6 @@
|
|||
|
||||
</a-col>
|
||||
|
||||
|
||||
|
||||
</a-row>
|
||||
|
||||
</div>
|
||||
|
|
@ -195,7 +192,7 @@ export default {
|
|||
osLogo: 'linux',
|
||||
tags: [],
|
||||
inputVisible: false,
|
||||
inputValue: '',
|
||||
inputValue: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
@ -224,7 +221,7 @@ export default {
|
|||
Object.assign(this, {
|
||||
tags,
|
||||
inputVisible: false,
|
||||
inputValue: '',
|
||||
inputValue: ''
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
{{ text }}
|
||||
</template>
|
||||
<span>
|
||||
<a-badge :title="text" :status="getBadgeStatus(text)" />
|
||||
<span v-if="displayText">{{ text }}</span>
|
||||
<a-badge :title="text" :status="getBadgeStatus(text)" />
|
||||
<span v-if="displayText">{{ text }}</span>
|
||||
</span>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue