mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-13 14:58:14 +00:00
make global search frontend heavy
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user