mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Fix all list items appearing twice in search view (#10365)
* UI: Fix all list items appearing twice in search view * Revert "UI: Fix all list items appearing twice in search view" This reverts commit 2739c0112c519406cc46394948fcad6020bcdb62. * fix duplicate option names on list filters --------- Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>
This commit is contained in:
parent
4f3e8e8c5a
commit
59e054396a
@ -80,7 +80,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<global-outlined v-else style="margin-right: 5px" />
|
<global-outlined v-else style="margin-right: 5px" />
|
||||||
</span>
|
</span>
|
||||||
<span v-if="(field.name.startsWith('domain') || field.name === 'account')">
|
<span v-if="(field.name.startsWith('domain') || field.name === 'account' || field.name.startsWith('associatednetwork'))">
|
||||||
<span v-if="opt.icon">
|
<span v-if="opt.icon">
|
||||||
<resource-icon :image="opt.icon.base64image" size="1x" style="margin-right: 5px"/>
|
<resource-icon :image="opt.icon.base64image" size="1x" style="margin-right: 5px"/>
|
||||||
</span>
|
</span>
|
||||||
@ -90,13 +90,6 @@
|
|||||||
<status :text="opt.state" />
|
<status :text="opt.state" />
|
||||||
</span>
|
</span>
|
||||||
{{ $t((['storageid'].includes(field.name) || !opt.path) ? opt.name : opt.path) }}
|
{{ $t((['storageid'].includes(field.name) || !opt.path) ? opt.name : opt.path) }}
|
||||||
<span v-if="(field.name.startsWith('associatednetwork'))">
|
|
||||||
<span v-if="opt.icon">
|
|
||||||
<resource-icon :image="opt.icon.base64image" size="1x" style="margin-right: 5px"/>
|
|
||||||
</span>
|
|
||||||
<block-outlined v-else style="margin-right: 5px" />
|
|
||||||
</span>
|
|
||||||
{{ $t(opt.path || opt.name) }}
|
|
||||||
</div>
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user