Refresh domains list when arriving directly on providers list
This commit is contained in:
parent
a61bcd3f2c
commit
536932172b
1 changed files with 4 additions and 0 deletions
|
|
@ -28,9 +28,13 @@
|
|||
|
||||
import ProviderList from "$lib/components/providers/List.svelte";
|
||||
import { appConfig } from "$lib/stores/config";
|
||||
import { domains, refreshDomains } from "$lib/stores/domains";
|
||||
import { providers, refreshProviders } from "$lib/stores/providers";
|
||||
import { t } from "$lib/translations";
|
||||
|
||||
if (!$domains) {
|
||||
refreshDomains();
|
||||
}
|
||||
refreshProviders();
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue