aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2021-05-13 21:06:24 -0400
committerusodhi <61431818+usodhi@users.noreply.github.com>2021-05-13 21:06:24 -0400
commitf9733d1fcd50cd2805a3a0b7dfcd1462a42d6a0e (patch)
tree1269b836ec6a5607b3bf8ff3d06e6e3c373e6e52 /src/client/util/CurrentUserUtils.ts
parent1e2e9feb78d9ea8c061c0141a5fd44ecb9f7fe1a (diff)
filter icon on collections and clickable
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 14bb87e89..5874a7d2c 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1196,6 +1196,7 @@ export class CurrentUserUtils {
const createDashboard = ScriptField.MakeScript(`createNewDashboard()`);
dashboardDoc.contextMenuScripts = new List<ScriptField>([toggleTheme!, toggleComic!, snapshotDashboard!, createDashboard!]);
dashboardDoc.contextMenuLabels = new List<string>(["Toggle Theme Colors", "Toggle Comic Mode", "Snapshot Dashboard", "Create Dashboard"]);
+ dashboardDoc.isDashboard = true;
Doc.AddDocToList(dashboards, "data", dashboardDoc);
CurrentUserUtils.openDashboard(userDoc, dashboardDoc);