Fix wish detail server when accessing it directly

This commit is contained in:
Made Baruna 2021-12-02 23:19:57 +07:00
parent 3e118cb7e5
commit 0d89132731
No known key found for this signature in database
GPG key ID: 5AA5DA16AA5DCEAD

View file

@ -374,6 +374,12 @@
}
onMount(async () => {
const prefix = getAccountPrefix();
const serverSave = await readSave(`${prefix}server`);
if (serverSave !== null) {
server.set(serverSave);
}
await readLocalData();
isSafari =