Skip to content

Commit d40c8c7

Browse files
committed
fix: Role tag visibility of community
1 parent a2726a9 commit d40c8c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ui/src/layout/layout-header/avatar/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
<div style="width: 90%">
2222
<p class="bold mb-4" style="font-size: 14px">{{ user.userInfo?.username }}</p>
2323
<template v-if="user.userInfo?.role_name && user.userInfo.role_name.length > 0">
24-
<TagGroup size="small" :tags="user.userInfo?.role_name"/>
24+
<TagGroup size="small" :tags="user.userInfo?.role_name"
25+
v-if="hasPermission([EditionConst.IS_EE, EditionConst.IS_PE],'OR')"
26+
/>
2527
</template>
2628
</div>
2729
</div>

0 commit comments

Comments
 (0)