Skip to content

Commit e076a35

Browse files
committed
ui: show inbuilt tag in infocard
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent eee516c commit e076a35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/components/view/InfoCard.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
<a-tag v-if="resource.instancename">
6262
{{ resource.instancename }}
6363
</a-tag>
64+
<a-tag :color="$config.theme['@link-color']" v-if="$route.path.startsWith('/xaas') && !resource.isuserdefined">
65+
{{ $t('label.inbuilt') }}
66+
</a-tag>
6467
<a-tag v-if="resource.type">
6568
<span v-if="['USER.LOGIN', 'USER.LOGOUT', 'ROUTER.HEALTH.CHECKS', 'FIREWALL.CLOSE', 'ALERT.SERVICE.DOMAINROUTER'].includes(resource.type)">{{ $t(resource.type.toLowerCase()) }}</span>
6669
<span v-else>

0 commit comments

Comments
 (0)