Browse Source

fix(nc-gui): hide default banner if hide nocodb branding is enabled

pull/7664/head
Ramesh Mane 10 months ago
parent
commit
90e682ea4d
  1. 4
      packages/nc-gui/components/smartsheet/Form.vue
  2. 3
      packages/nocodb/src/models/View.ts

4
packages/nc-gui/components/smartsheet/Form.vue

@ -902,7 +902,7 @@ useEventListener(
<NcButton
type="secondary"
size="small"
:disabled="!isUIAllowed('dataInsert')"
:disabled="!isUIAllowed('dataInsert') || !visibleColumns.length"
class="nc-form-clear nc-form-focus-element"
data-testid="nc-form-clear"
data-title="nc-form-clear"
@ -914,7 +914,7 @@ useEventListener(
html-type="submit"
type="primary"
size="small"
:disabled="!isUIAllowed('dataInsert')"
:disabled="!isUIAllowed('dataInsert') || !visibleColumns.length"
class="nc-form-submit nc-form-focus-element"
data-testid="nc-form-submit"
data-title="nc-form-submit"

3
packages/nocodb/src/models/View.ts

@ -583,9 +583,6 @@ export default class View implements ViewType {
ncMeta,
);
break;
case ViewTypes.FORM:
await FormViewColumn.insert(modifiedInsertObj, ncMeta);
break;
}
}
}

Loading…
Cancel
Save