Browse Source

Merge pull request #6549 from nocodb/nc-fix/vrr

fix: duplicated variable name
pull/6550/head
mertmit 1 year ago committed by GitHub
parent
commit
5e91c0f316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui/components/tabs/auth/user-management/ShareBase.vue

4
packages/nc-gui/components/tabs/auth/user-management/ShareBase.vue

@ -91,11 +91,11 @@ const recreate = async () => {
try { try {
if (!base.value.id) return if (!base.value.id) return
const sharedBase = await $api.base.sharedBaseCreate(base.value.id, { const createdShareBase = await $api.base.sharedBaseCreate(base.value.id, {
roles: sharedBase.value?.role || ShareBaseRole.Viewer, roles: sharedBase.value?.role || ShareBaseRole.Viewer,
}) })
const newBase = sharedBase || {} const newBase = createdShareBase || {}
sharedBase.value = { ...newBase, role: sharedBase.value?.role } sharedBase.value = { ...newBase, role: sharedBase.value?.role }
} catch (e: any) { } catch (e: any) {

Loading…
Cancel
Save