mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 14:26:43 +00:00
fix: cleanup oss
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user