feat: Fix spelling mistake on recovery data, b=no-bug, c=no-component

This commit is contained in:
mr. m
2026-02-20 22:23:00 +01:00
parent 124bcee596
commit 29eae92fcb

View File

@@ -177,7 +177,7 @@ export class nsZenSessionManager {
} catch {
/* ignore errors reading recovery data */
}
if (!data.recoverYData) {
if (!data.recoveryData) {
try {
data.recoveryData = await IOUtils.readJSON(
PathUtils.join(
@@ -223,6 +223,7 @@ export class nsZenSessionManager {
} catch (e) {
console.error("ZenSessionManager: Failed to read session file", e);
}
console.log(this.#file.dataReady)
this.#sidebar = this.#file.data || {};
if (!this.#sidebar.spaces?.length && !this._shouldRunMigration) {
this.log("No spaces data found in session file, running migration", this.#sidebar);