diff --git a/packages/nc-gui/components/ProjectTreeView.vue b/packages/nc-gui/components/ProjectTreeView.vue
index 6905481f0f..f53a8d887b 100644
--- a/packages/nc-gui/components/ProjectTreeView.vue
+++ b/packages/nc-gui/components/ProjectTreeView.vue
@@ -26,16 +26,24 @@
<!– mdi-arrow-expand-horizontal–>
-->
-
-
-
-
-
-
-
-
-
-
+
+
+
+ mdi-magnify
+
+
+
+
+ mdi-close
+
+
+
-
+
@@ -116,7 +124,7 @@
v-if="isNested(item) && showNode(item)"
:key="item.type"
color="textColor"
- :value="isActiveList(item)"
+ :value="isActiveList(item) || search"
@click="
!(item.children && item.children.length) && addTab({ ...item }, false, false)
"
@@ -131,7 +139,7 @@
@@ -139,7 +147,7 @@
@@ -149,17 +157,25 @@
-
+
+ Tables ({{
+ item.children.filter(child => !search || child.name.toLowerCase().includes(search.toLowerCase())).length
+ }})
+
{{ item.name }}
Only visible to Creator
-
- {{ item.name }}
+
+ Tables ({{
+ item.children.filter(child => !search || child.name.toLowerCase().includes(search.toLowerCase())).length
+ }})
+
+ {{ item.name }}
+
@@ -186,6 +202,7 @@
n.type === 'tableDir');
}
@@ -1165,7 +1182,7 @@ export default {
await this.loadViews(this.menuItem);
this.$toast.success('Views refreshed').goAway(1000);
} else if (action === 'IMPORT_EXCEL') {
- this.excelImportDialog=true
+ this.excelImportDialog = true
} else if (action === 'ENV_DB_FUNCTIONS_REFRESH') {
await this.loadFunctions(this.menuItem);
this.$toast.success('Functions refreshed').goAway(1000);
@@ -1768,6 +1785,24 @@ export default {
.nested:hover .action {
opacity: 1;
}
+
+/deep/ .nc-table-list-filter .v-input__slot {
+ min-height: 30px !important;
+}
+/deep/ .nc-table-list-filter .v-input__slot label {
+ top: 6px;
+}
+
+
+
+/deep/ .nc-table-list-filter.theme--light.v-text-field > .v-input__control > .v-input__slot:before {
+ border-top-color: rgba(0, 0, 0, 0.12) !important;
+}
+
+/deep/ .nc-table-list-filter.theme--dark.v-text-field > .v-input__control > .v-input__slot:before {
+ border-top-color: rgba(255, 255, 255, 0.12) !important;
+}
+
+ (a?._tn || a?.tn)?.localeCompare(b?._tn || b?.tn)
+ );
}
break;
case 'view':