feat(workspaces): modify ZenWorkspaces to enable creation flow to be a single step

This commit is contained in:
Katelyn Dickey 2024-08-25 12:52:18 -04:00
parent 0b7a125130
commit b69fe5e69d

View file

@ -392,13 +392,7 @@ var ZenWorkspaces = {
tab.setAttribute("zen-workspace-id", window.uuid);
},
async saveWorkspaceFromInput() {
// Go to the next view
let parentPanel = document.getElementById("PanelUI-zen-workspaces-multiview");
PanelUI.showSubView("PanelUI-zen-workspaces-create-icons", parentPanel);
},
async saveWorkspaceFromIcon() {
async saveWorkspaceFromCreate() {
let workspaceName = this._workspaceCreateInput.value;
if (!workspaceName) {
return;