fix: update sidebar for private workspace
This commit is contained in:
parent
24505f1cfa
commit
41f220d092
2 changed files with 2 additions and 2 deletions
|
|
@ -149,6 +149,6 @@ frappe.ui.AppsSwitcher = class AppsSwitcher {
|
|||
frappe.current_app = app;
|
||||
|
||||
// re-render the sidebar
|
||||
this.make_sidebar();
|
||||
frappe.app.sidebar.make_sidebar();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -546,7 +546,7 @@ frappe.views.Workspace = class Workspace {
|
|||
|
||||
if (!frappe.boot.app_data_map["private"] && new_page.public === 0) {
|
||||
let app_switcher_menu = $(".app-switcher-menu");
|
||||
this.sidebar.add_private_app(app_switcher_menu);
|
||||
this.sidebar.apps_switcher.add_private_app(app_switcher_menu);
|
||||
}
|
||||
resolve();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue