Browse Source

fix: Added project events

pull/6539/head
Muhammed Mustafa 1 year ago
parent
commit
0962e67d3f
  1. 1
      packages/nc-gui/components/workspace/CreateProjectBtn.vue
  2. 1
      packages/nc-gui/components/workspace/CreateProjectDlg.vue

1
packages/nc-gui/components/workspace/CreateProjectBtn.vue

@ -29,6 +29,7 @@ const centered = computed(() => props.centered ?? true)
<template>
<NcButton
v-if="isUIAllowed('projectCreate', { roles: workspaceRoles ?? orgRoles }) && !isSharedBase"
v-e="['c:base:create']"
type="text"
:size="size"
:centered="centered"

1
packages/nc-gui/components/workspace/CreateProjectDlg.vue

@ -123,6 +123,7 @@ const typeLabel = computed(() => {
<div class="flex flex-row justify-end mt-7 gap-x-2">
<NcButton type="secondary" @click="dialogShow = false">Cancel</NcButton>
<NcButton
v-e="['a:base:create']"
data-testid="docs-create-proj-dlg-create-btn"
:loading="creating"
type="primary"

Loading…
Cancel
Save