Merge pull request #15439 from shariquerik/container-js-fix

fix: Workspace content loading twice
This commit is contained in:
mergify[bot] 2021-12-27 06:41:03 +00:00 committed by GitHub
commit bace5cd209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,11 +40,6 @@ frappe.views.Container = class Container {
}
change_to(label) {
cur_page = this;
if(this.page && this.page.label === label) {
$(this.page).trigger('show');
}
var me = this;
if(label.tagName) {
// if sent the div, get the table
var page = label;