mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 04:59:58 +02:00
feat(workspaces): modify ZenWorkspaces to enable creation flow to be a single step
This commit is contained in:
parent
0b7a125130
commit
b69fe5e69d
1 changed files with 1 additions and 7 deletions
|
@ -392,13 +392,7 @@ var ZenWorkspaces = {
|
||||||
tab.setAttribute("zen-workspace-id", window.uuid);
|
tab.setAttribute("zen-workspace-id", window.uuid);
|
||||||
},
|
},
|
||||||
|
|
||||||
async saveWorkspaceFromInput() {
|
async saveWorkspaceFromCreate() {
|
||||||
// Go to the next view
|
|
||||||
let parentPanel = document.getElementById("PanelUI-zen-workspaces-multiview");
|
|
||||||
PanelUI.showSubView("PanelUI-zen-workspaces-create-icons", parentPanel);
|
|
||||||
},
|
|
||||||
|
|
||||||
async saveWorkspaceFromIcon() {
|
|
||||||
let workspaceName = this._workspaceCreateInput.value;
|
let workspaceName = this._workspaceCreateInput.value;
|
||||||
if (!workspaceName) {
|
if (!workspaceName) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue