feat: description templates

This commit is contained in:
spiral 2022-05-09 15:00:37 -04:00
parent b31871b394
commit b5ba93eb7f
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
9 changed files with 112 additions and 1 deletions

View file

@ -40,6 +40,8 @@
const res: System = await api().systems("@me").get({ token });
localStorage.setItem("pk-token", token);
localStorage.setItem("pk-user", JSON.stringify(res));
const settings = await api().systems("@me").settings.get({ token });
localStorage.setItem("pk-config", JSON.stringify(settings));
err = null;
loggedIn.update(() => true);
currentUser.update(() => res);