Browse Source

chore(nc-gui): disable theme for non form shared views

pull/3978/head
braks 2 years ago
parent
commit
5d81dc64b3
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

7
packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

@ -230,7 +230,12 @@ watch(passwordProtected, (value) => {
<div>
<!-- todo: i18n -->
<a-checkbox v-model:checked="viewTheme" data-cy="nc-modal-share-view__with-theme" class="!text-xs">
<a-checkbox
v-if="shared.type === ViewTypes.FORM"
v-model:checked="viewTheme"
data-cy="nc-modal-share-view__with-theme"
class="!text-xs"
>
Use Theme
</a-checkbox>

Loading…
Cancel
Save