search GUI improved

This commit is contained in:
SPRINX0\prochazka
2024-12-17 16:27:54 +01:00
parent 537869e862
commit e6a3acf4c2
3 changed files with 6 additions and 4 deletions

View File

@@ -188,6 +188,7 @@
function createSearchMenu() {
const res = [];
res.push({ label: 'Search by:', isBold: true, disabled: true });
res.push({ label: 'Display name', switchValue: 'displayName' });
res.push({ label: 'Server', switchValue: 'server' });
res.push({ label: 'User', switchValue: 'user' });

View File

@@ -129,6 +129,7 @@
function createSearchMenu() {
const res = [];
res.push({ label: 'Search by:', isBold: true, disabled: true });
if (driver?.databaseEngineTypes?.includes('document')) {
res.push({ label: 'Collection names', switchValue: 'collectionName' });
}