mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 22:19: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);
|
||||
},
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue