fix: cleanup oss

This commit is contained in:
Ramesh Mane
2026-02-20 10:35:33 +00:00
parent 2abdc4f34b
commit cf53fce232
2 changed files with 34 additions and 264 deletions

View File

@@ -1,12 +1,17 @@
<script setup lang="ts">
const props = defineProps<{
workspaceId?: string | undefined
modal?: boolean
type?: string
isOpen: boolean
size?: NcButtonSize
centered?: boolean
}>()
const props = withDefaults(
defineProps<{
workspaceId?: string | undefined
modal?: boolean
type?: string
isOpen: boolean
size?: NcButtonSize
centered?: boolean
}>(),
{
type: 'text',
},
)
const { isUIAllowed } = useRoles()
@@ -31,7 +36,7 @@ onMounted(() => {
<NcButton
v-if="isUIAllowed('baseCreate', { roles: orgRoles }) && !isSharedBase"
v-e="['c:base:create']"
type="text"
:type="type"
:size="size"
:centered="centered"
full-width