Fix copy mod ping button

dev
gravel 2 years ago
parent 75c48c0e1b
commit 24d5bcd375
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -317,7 +317,7 @@ function addQRModalHandlers() {
/** /**
* @type {string[]} * @type {string[]}
*/ */
const staff = JSON.parse(this.getAttribute(ATTRIBUTES.ROW.STAFF_DATA)); const staff = this.getAttribute(ATTRIBUTES.ROW.STAFF_DATA).split(",");
if (staff.length == 0) { if (staff.length == 0) {
alert("No public moderators available for this Community."); alert("No public moderators available for this Community.");
return; return;

Loading…
Cancel
Save