3ff5c69 ←47f08c1antonApr 11, 2026 api

edit version-view.ts via macOS

M /sublimated/undefined +11 -0
94 unmodified lines
95 }
96 }
97 } catch (e) {
98 loading.remove();
99 if (e instanceof AuthRequiredError) {
100 contentEl.createEl("p", {
101 text: "This file is private — add an API token to view version history.",
102 cls: "sbl-version-empty",
103 });
104 contentEl.createEl("p", {
105 text: "Configure in Settings → sublimated",
106 cls: "sbl-version-hint",
107 });
108 return;
109 }
110 contentEl.createEl("p", {
111 text: `Error: ${e instanceof Error ? e.message : "Unknown"}`,
112 cls: "sbl-version-error",
113 });
114 unmodified lines