From 1c523087855ff06e53cef26a2093b09e0bce120c Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:16:11 +0000 Subject: [PATCH] fix(nc-gui): ui acl --- .../components/smartsheet/calendar/DayView/DateTimeField.vue | 2 +- .../components/smartsheet/calendar/WeekView/DateTimeField.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue b/packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue index d709b388ac..787639d8b4 100644 --- a/packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/DayView/DateTimeField.vue @@ -618,7 +618,7 @@ const dragStart = (event: MouseEvent, record: Row) => { :name="record.row![displayField!.title!]" :position="record.rowMeta!.position" :record="record" - :resize="true" + :resize="!!record.rowMeta.range?.fk_to_col && isUIAllowed('dataEdit')" color="blue" size="auto" @resize-start="onResizeStart" diff --git a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue index 7d0deec01f..6dfef85ff5 100644 --- a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue @@ -704,7 +704,7 @@ const dropEvent = (event: DragEvent) => { :name="record.row![displayField!.title!]" :position="record.rowMeta!.position" :record="record" - :resize="true" + :resize="!!record.rowMeta.range?.fk_to_col && isUIAllowed('dataEdit')" color="blue" @resize-start="onResizeStart" />