mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 11:39:57 +02:00
This commit addresses a potential crash that could occur when the active workspace no longer exists. The issue was that the code attempted to access the `uuid` property of the first workspace in the list even if the list was empty. This commit fixes the issue by using optional chaining (`?.`) to safely access the `uuid` property, ensuring the code doesn't crash if the workspace list is empty. |
||
---|---|---|
.. | ||
actors | ||
ZenCommonUtils.mjs | ||
ZenCompactMode.mjs | ||
ZenKeyboardShortcuts.mjs | ||
ZenProfileDialogUI.mjs | ||
ZenSidebarManager.mjs | ||
ZenTabUnloader.mjs | ||
ZenThemeBuilder.mjs | ||
ZenThemesCommon.mjs | ||
ZenThemesImporter.mjs | ||
ZenViewSplitter.mjs | ||
ZenWorkspaces.mjs | ||
ZenWorkspacesStorage.mjs |