Merge pull request #21209 from shariquerik/workspace-minor-fix

This commit is contained in:
Shariq Ansari 2023-06-02 16:19:59 +05:30 committed by GitHub
commit 1d0078038d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -353,7 +353,7 @@ frappe.views.Workspace = class Workspace {
let current_page = pages.filter((p) => p.title == page.name)[0];
this.content = current_page && JSON.parse(current_page.content);
this.add_custom_cards_in_content();
this.content && this.add_custom_cards_in_content();
$(".item-anchor").addClass("disable-click");