From 83be973007f1dc831883e7880374a4f09723ca6c Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 9 Aug 2022 17:30:45 +0530 Subject: [PATCH] fix(swagger): ignore system fields from filter and sort - ignore hasmany and manytomany fields from sort Signed-off-by: Pranav C --- .../components/dashboard/TreeView.vue | 11 ++++-- .../FieldListAutoCompleteDropdown.vue | 36 +++++++++++++------ .../smartsheet-toolbar/SortListMenu.vue | 1 + 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/packages/nc-gui-v2/components/dashboard/TreeView.vue b/packages/nc-gui-v2/components/dashboard/TreeView.vue index 9cd3285018..4cedb9a1a1 100644 --- a/packages/nc-gui-v2/components/dashboard/TreeView.vue +++ b/packages/nc-gui-v2/components/dashboard/TreeView.vue @@ -296,12 +296,19 @@ const activeTable = computed(() => { @apply relative cursor-pointer after:(content-[''] absolute top-0 left-0 w-full h-full right-0 !bg-current transition transition-opactity duration-100 opacity-0); } +.nc-tree-item svg{ + @apply text-gray-500 +} + .nc-tree-item.active { - @apply !text-primary after:(!opacity-10); + @apply !text-primary after:(!opacity-5); + svg { + @apply !text-primary + } } .nc-tree-item:hover { - @apply !text-grey after:(!opacity-5); + @apply !text-grey after:(!opacity-2); } diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue index 5ba26d223a..8936e8ac7e 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/FieldListAutoCompleteDropdown.vue @@ -1,6 +1,7 @@