Skip to content

Commit 75c6305

Browse files
fix duplicate option names on list filters
1 parent 9c41762 commit 75c6305

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ui/src/components/view/SearchView.vue

Lines changed: 1 addition & 7 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,12 +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>
9993
</div>
10094
</a-select-option>
10195
</a-select>

0 commit comments

Comments
 (0)