mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-22 11:26:41 +00:00
feat: Fix spelling mistake on recovery data, b=no-bug, c=no-component
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user