mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
make global search frontend heavy
This commit is contained in:
1 parent
afd10048bd
commit
2e6e07bcc3
2 files changed
+609
-575
No files matched your search
@@ -81,6 +81,7 @@ class GlobalSearch extends Component
|
||||
{
|
||||
$this->isModalOpen = true;
|
||||
$this->loadSearchableItems();
|
||||
$this->loadCreatableItems();
|
||||
$this->dispatch('search-modal-opened');
|
||||
}
|
||||
|
||||
@@ -973,6 +974,9 @@ class GlobalSearch extends Component
|
||||
]);
|
||||
}
|
||||
|
||||
// Merge with services
|
||||
$items = $items->merge(collect($this->services));
|
||||
|
||||
$this->creatableItems = $items->toArray();
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user