Polish approved 1.0 scope and verify portable previews

This commit is contained in:
SantaSpeen committed 2026-12-02 16:12:49 +03:00
1 parent 1819f35f91
commit 2b45df2816
181 files changed
+996 -139

No files matched your search

+5
View File
@@ -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);