Merge pull request #22499 from barredterra/render-image-count

fix: render count on image capture
This commit is contained in:
Ankush Menat 2023-09-25 12:51:15 +05:30 committed by GitHub
commit 5e6f0daa0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,7 @@ frappe.ui.Capture = class {
let field = me.dialog.get_field("capture");
$(field.wrapper).html(me.$template);
me.update_count();
me.dialog.get_close_btn().on("click", () => {
me.hide();