π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: show locked view footer for all locked views (personal and collaborative)
Pranav Ca72e530e27a8
diff --git a/packages/nc-gui/components/smartsheet/toolbar/Calendar/Range.vue b/packages/nc-gui/components/smartsheet/toolbar/Calendar/Range.vueindex 31dc83ec67..d563cea6c4 100644--- a/packages/nc-gui/components/smartsheet/toolbar/Calendar/Range.vue+++ b/packages/nc-gui/components/smartsheet/toolbar/Calendar/Range.vue@@ -374,7 +374,7 @@ const onValueChange = async () => {<!--<div class="text-[13px] text-nc-content-gray-muted py-2">Records in this view will be based on the specified date field.</div>-->- <GeneralLockedViewFooter v-if="isRestrictedEditor" class="!-mb-4 -mx-4" @on-open="calendarRangeDropdown = false" />+ <GeneralLockedViewFooter v-if="isLocked" class="!-mb-4 -mx-4" @on-open="calendarRangeDropdown = false" /></div></template></NcDropdown>diff --git a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilterMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilterMenu.vueindex a472af007b..d038e66f2a 100644--- a/packages/nc-gui/components/smartsheet/toolbar/ColumnFilterMenu.vue+++ b/packages/nc-gui/components/smartsheet/toolbar/ColumnFilterMenu.vue@@ -338,7 +338,7 @@ watch(></SmartsheetToolbarColumnFilter></template>- <GeneralLockedViewFooter v-if="isLocked || isPersonalViewNonOwner" @on-open="open = false" />+ <GeneralLockedViewFooter v-if="isLocked" @on-open="open = false" /></template><template v-if="filtersFromUrlParams"><a-divider class="!my-1" />diff --git a/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vueindex df115aa478..a606bf1fde 100644--- a/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue+++ b/packages/nc-gui/components/smartsheet/toolbar/GroupByMenu.vue@@ -393,7 +393,7 @@ const getFieldsToGroupBy = (currentGroup: Group) => {</div></div><GeneralLockedViewFooter- v-if="isRestrictedEditor"+ v-if="isLocked":class="{'-mt-2': _groupBy.length,}"diff --git a/packages/nc-gui/components/smartsheet/toolbar/StackedBy.vue b/packages/nc-gui/components/smartsheet/toolbar/StackedBy.vueindex e4b79bf14e..c667995bf5 100644--- a/packages/nc-gui/components/smartsheet/toolbar/StackedBy.vue+++ b/packages/nc-gui/components/smartsheet/toolbar/StackedBy.vue@@ -222,7 +222,7 @@ const handleChange = () => {</div></NcSwitch></div>- <GeneralLockedViewFooter v-if="isRestrictedEditor" class="-mb-4 -mx-4" @on-open="open = false" />+ <GeneralLockedViewFooter v-if="isLocked" class="-mb-4 -mx-4" @on-open="open = false" /></div></template></NcDropdown>