From 20a10cb8b715227a4f9d907e6ec7e2a366790d06 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 21 Oct 2021 13:50:08 +0530 Subject: [PATCH] fix: hide dropdown styling in public shared grid view Signed-off-by: Pranav C --- .../project/spreadsheet/components/editableCell.vue | 4 ++-- .../components/project/spreadsheet/views/xcGridView.vue | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue index fd5f8b758e..8d39585d7e 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editableCell.vue @@ -59,7 +59,7 @@ /> c.cn === columnObj.bt.cn) @@ -504,13 +506,14 @@ export default { } }, enableEditable(column) { - return (column && column.uidt === 'Attachment') || + return ((column && column.uidt === 'Attachment') || (column && column.uidt === 'SingleSelect') || (column && column.uidt === 'MultiSelect') || (column && column.uidt === 'DateTime') || (column && column.uidt === 'Date') || (column && column.uidt === 'Time') || (this.sqlUi && this.sqlUi.getAbstractType(column) === 'boolean') + ) }, insertNewRow(atEnd = false, expand = false) { this.$emit('insertNewRow', atEnd, expand)