components/src
Kristijan Ribarić 05acfdb27e Fix: Prevent potential crash when workspace doesn't exist
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.
2024-10-03 11:52:18 +02:00
..
actors Refactor ZenWorkspaces to add event listener for TabBrowserInserted 2024-09-16 22:53:45 +02:00
ZenCommonUtils.mjs Synced workspaces across windows and also implemented MultiWindowFeatures 2024-10-01 23:21:38 +02:00
ZenCompactMode.mjs Fix possible flicker when mouse overshoot hover is applied. 2024-09-25 14:39:19 +02:00
ZenKeyboardShortcuts.mjs Synced workspaces across windows and also implemented MultiWindowFeatures 2024-10-01 23:21:38 +02:00
ZenProfileDialogUI.mjs Formatted the entire project 2024-09-09 19:36:06 +02:00
ZenSidebarManager.mjs Updated firefox mobile user agent 2024-10-01 20:11:31 +02:00
ZenTabUnloader.mjs Refactor ZenTabUnloader to optimize tab unloading and add context menu options 2024-09-27 20:34:37 +02:00
ZenThemeBuilder.mjs Formatted the entire project 2024-09-09 19:36:06 +02:00
ZenThemesCommon.mjs Synced workspaces across windows and also implemented MultiWindowFeatures 2024-10-01 23:21:38 +02:00
ZenThemesImporter.mjs Synced workspaces across windows and also implemented MultiWindowFeatures 2024-10-01 23:21:38 +02:00
ZenViewSplitter.mjs Make splitview change on hover only work when pref true. 2024-10-01 02:19:52 +02:00
ZenWorkspaces.mjs Fix: Prevent potential crash when workspace doesn't exist 2024-10-03 11:52:18 +02:00
ZenWorkspacesStorage.mjs feat(workspaces): Use preferences to manage active workspace 2024-10-03 10:19:18 +02:00