Skip to content

Commit 59e0543

Browse files
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 2739c01. * fix duplicate option names on list filters --------- Co-authored-by: Bernardo De Marco Gonçalves <[email protected]>
1 parent 4f3e8e8 commit 59e0543

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ui/src/components/view/SearchView.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
</span>
8181
<global-outlined v-else style="margin-right: 5px" />
8282
</span>
83-
<span v-if="(field.name.startsWith('domain') || field.name === 'account')">
83+
<span v-if="(field.name.startsWith('domain') || field.name === 'account' || field.name.startsWith('associatednetwork'))">
8484
<span v-if="opt.icon">
8585
<resource-icon :image="opt.icon.base64image" size="1x" style="margin-right: 5px"/>
8686
</span>
@@ -90,13 +90,6 @@
9090
<status :text="opt.state" />
9191
</span>
9292
{{ $t((['storageid'].includes(field.name) || !opt.path) ? opt.name : opt.path) }}
93-
<span v-if="(field.name.startsWith('associatednetwork'))">
94-
<span v-if="opt.icon">
95-
<resource-icon :image="opt.icon.base64image" size="1x" style="margin-right: 5px"/>
96-
</span>
97-
<block-outlined v-else style="margin-right: 5px" />
98-
</span>
99-
{{ $t(opt.path || opt.name) }}
10093
</div>
10194
</a-select-option>
10295
</a-select>

0 commit comments

Comments
 (0)