mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-18 04:27:24 +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();
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user