From 2319fbb601c1f095eeae5aab9a4ce9c9f7658256 Mon Sep 17 00:00:00 2001 From: tim h Date: Sun, 9 Jul 2023 08:36:34 -0500 Subject: [PATCH 1/2] shoddily fixes issue 232 --- js/initalize/workspace.populate.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/js/initalize/workspace.populate.js b/js/initalize/workspace.populate.js index 7c93722..f3faba3 100644 --- a/js/initalize/workspace.populate.js +++ b/js/initalize/workspace.populate.js @@ -97,10 +97,13 @@ workspaces.get(id).onsuccess = (e) => { const ws = e.target.result; if (ws) { - workspaces.put({id, workspace}).onsuccess = () => { - notifications.notify(`Workspace saved as '${ws.value.name}'`, { - type: "success", - }); + var name = ws.name; + workspaces.delete(id).onsuccess = () => { + workspaces.add({id, name, workspace}).onsuccess = () => { + notifications.notify(`Workspace saved as '${name}'`, { + type: "success", + }); + }; //workspaces.put is failing, delete and re-add? listWorkspaces(); }; } From 765d4d92e204d19a5e0f2fc695fd6f3dbdd6304f Mon Sep 17 00:00:00 2001 From: zero01101 Date: Sun, 9 Jul 2023 13:37:07 +0000 Subject: [PATCH 2/2] Fixed resource hashes --- index.html | 8 ++++---- pages/configuration.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 921e31d..c5c770e 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + @@ -485,7 +485,7 @@ - + @@ -525,7 +525,7 @@ src="js/ui/tool/generic.js?v=3e678e0" type="text/javascript"> - + @@ -542,7 +542,7 @@