Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not re-open an already currently opened workspace
Fixes #5630 - fixes an issue that allows users to open a workspace that is currently opened. If the user had the preference `"workspace.preserveWindow"` set to `false` it would open an identical workspace in a new tab, and if it was set to `true` it would reload the workspace. Instead, an additional check is performed to determine if the current workspace and the new destination are equal, and if they are a NOOP is instead performed by returning `undefined`. Signed-off-by: Vincent Fugnitto <[email protected]>
- Loading branch information