Fix duplicated button in support app

This commit is contained in:
yflory 2025-03-26 10:21:41 +01:00
parent 1abf57d8b7
commit dd34d803e2

View File

@ -162,7 +162,7 @@ define([
var makeForm = function (ctx, opts, cb) {
let { oldData, recorded, title, hideNotice } = opts || {};
var button;
cb = Util.once(cb);
cb = cb && Util.once(cb);
if (typeof(cb) === "function") {
button = h('button.btn.btn-primary.cp-support-list-send', Messages.contacts_send);