fix: force load services from cdn on reload list

This commit is contained in:
Andras Bacsai
2024-05-27 10:27:18 +02:00
parent 8bca988520
commit a6a0cb928a
2 changed files with 18 additions and 19 deletions

View File

@@ -91,7 +91,7 @@ class Select extends Component
});
} else {
$this->search = null;
$this->allServices = get_service_templates();
$this->allServices = get_service_templates($force);
$this->services = $this->allServices->filter(function ($service, $key) {
return str_contains(strtolower($key), strtolower($this->search));
});