This commit is contained in:
Luis Fernando Molina committed 2020-10-11 10:49:25 +02:00
1 parent e2352b9627
commit c211512cdc
2 files changed
+18 -15

No files matched your search

-8
View File
@@ -183,14 +183,6 @@ function newWorkspace() {
/* Validation if it is too early to save. */
if (isInitialized === false) { return }
/* Validation of that the user changed the workspace name at least once. */
if (workspace.name === 'Default') {
canvas.cockpitSpace.setStatus(
'Could not save the Workspace. Please rename the Workspace so that it can be saved.'
, 150, canvas.cockpitSpace.statusTypes.WARNING)
return
}
/* Validation of 2 sessions opened at the same time. */
let savedSessionTimestamp = window.localStorage.getItem('Session Timestamp')
if (Number(savedSessionTimestamp) !== sessionTimestamp) {