diff --git a/ui/src/views/function-lib/index.vue b/ui/src/views/function-lib/index.vue index 840b4dba7..af8ba990b 100644 --- a/ui/src/views/function-lib/index.vue +++ b/ui/src/views/function-lib/index.vue @@ -43,7 +43,7 @@ :description="item.desc" class="function-lib-card" @click="openCreateDialog(item)" - :class="item.permission_type === 'PUBLIC' ? 'notAllowed' : 'cursor'" + :class="item.permission_type === 'PUBLIC' && !canEdit(item) ? 'notAllowed' : 'cursor'" >