π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: more fixes
DarkPhoenix2704cf2bf0b0bab3
diff --git a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateField.vue b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateField.vueindex 08c9830bba..d0638a74a5 100644--- a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateField.vue+++ b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateField.vue@@ -530,7 +530,7 @@ const addRecord = (date: dayjs.Dayjs) => {'w-1/5': maxVisibleDays === 5,'w-1/7': maxVisibleDays === 7,}"- class="cursor-pointer text-center text-[10px] font-semibold leading-4 flex items-center justify-center uppercase text-nc-content-gray-muted w-full py-1 border-nc-border-gray-medium border-l-nc-border-gray-extra-light border-t-nc-border-gray-extra-light last:border-r-0 border-1 bg-nc-bg-gray-extra-light"+ class="cursor-pointer text-center text-[10px] font-semibold leading-4 flex items-center justify-center uppercase text-nc-content-gray-muted w-full py-1 border-nc-border-gray-medium border-l-nc-border-gray-extra-light border-t-nc-border-gray-extra-light last:border-r-0 border-b-1 border-r-1 bg-nc-bg-gray-extra-light"@click="selectDate(date)"@dblclick="addRecord(date)">diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vueindex 0e75b04696..34c947eb88 100644--- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue+++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue@@ -230,7 +230,7 @@ const onDuplicateRow = () => {setTimeout(async () => {_row.value = newRowduplicatingRowInProgress.value = false- message.success(t('msg.success.rowDuplicatedWithoutSavedYet'))+ message.toast(t('msg.success.rowDuplicatedWithoutSavedYet'))}, 500)}@@ -542,9 +542,6 @@ const onConfirmDeleteRowClick = async () => {await deleteRowById(primaryKey.value || undefined)emits('deletedRecord')-- message.success(t('msg.rowDeleted'))-showDeleteRowModal.value = falseonClose(true)diff --git a/packages/nc-gui/utils/calendarUtils.ts b/packages/nc-gui/utils/calendarUtils.tsindex efc1d9bdf5..14be368e82 100644--- a/packages/nc-gui/utils/calendarUtils.ts+++ b/packages/nc-gui/utils/calendarUtils.ts@@ -96,7 +96,7 @@ const isRowInCurrentDateRange = (}// Check if date ranges overlap- if (rowStartDate.isBefore(viewEndDate) && rowEndDate.isAfter(viewStartDate)) {+ if (rowStartDate.isSameOrBefore(viewEndDate) && rowEndDate.isSameOrAfter(viewStartDate)) {return true}}