Polish approved 1.0 scope and verify portable previews
This commit is contained in:
1 parent
1819f35f91
commit
2b45df2816
181 files changed
+996
-139
No files matched your search
@@ -574,6 +574,11 @@ async function loadAccount() {
|
||||
(data.banReason != null && typeof data.banReason !== "string")
|
||||
)
|
||||
throw Error("Invalid account response");
|
||||
if (identity?.id !== data.id) {
|
||||
documentFiles.clear();
|
||||
for (const [path, file] of createDemoDocuments())
|
||||
documentFiles.set(path, file);
|
||||
}
|
||||
identity = { ...data, panel: data.panel || "user" };
|
||||
accountError = null;
|
||||
accountMenu.update(data);
|
||||
|
||||
Reference in new issue
Block a user