From dbb70643857ceb54a89d117eae6b9073a78d992f Mon Sep 17 00:00:00 2001 From: sparks-alec Date: Mon, 29 May 2023 13:52:58 -0400 Subject: [PATCH] helpful text if no workspace is open --- plugins/qlab/template.ejs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/qlab/template.ejs b/plugins/qlab/template.ejs index 65d9437..1703091 100644 --- a/plugins/qlab/template.ejs +++ b/plugins/qlab/template.ejs @@ -6,6 +6,11 @@ <% const workspaceKeys = Object.keys(data.workspaces); %> + +<% if(workspaceKeys.length==0){ %> +

QLab is open but there isn't an open Workspace

+<% } %> + <% for(let i=0; i <% const workspace = data.workspaces[workspaceKeys[i]]; %>