Skip to content

Commit

Permalink
fix: Replace component code
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Feb 19, 2025
1 parent 107d20f commit 31256c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ frappe.ui.form.on("Builder Settings", {
},
callback: (r) => {
const field = d.get_field("target_component");
const count = r.message;
const { count, pages } = r.message;
const message =
count === 0
? __("Not used in any page")
Expand Down

0 comments on commit 31256c1

Please sign in to comment.