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 <NcButton
type="secondary" type="secondary"
size="small" size="small"
:disabled="!isUIAllowed('dataInsert')" :disabled="!isUIAllowed('dataInsert') || !visibleColumns.length"
class="nc-form-clear nc-form-focus-element" class="nc-form-clear nc-form-focus-element"
data-testid="nc-form-clear" data-testid="nc-form-clear"
data-title="nc-form-clear" data-title="nc-form-clear"
@ -914,7 +914,7 @@ useEventListener(
html-type="submit" html-type="submit"
type="primary" type="primary"
size="small" size="small"
:disabled="!isUIAllowed('dataInsert')" :disabled="!isUIAllowed('dataInsert') || !visibleColumns.length"
class="nc-form-submit nc-form-focus-element" class="nc-form-submit nc-form-focus-element"
data-testid="nc-form-submit" data-testid="nc-form-submit"
data-title="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, ncMeta,
); );
break; break;
case ViewTypes.FORM:
await FormViewColumn.insert(modifiedInsertObj, ncMeta);
break;
} }
} }
} }

Loading…
Cancel
Save