mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 19:22:27 +00:00
fix silly bug
This commit is contained in:
1 parent
534109767a
commit
451fa0e5f7
1 file changed
+4
-2
@@ -1,3 +1,4 @@
|
||||
import {Guild} from "../guild.js";
|
||||
import {I18n} from "../i18n.js";
|
||||
import {Localuser} from "../localuser.js";
|
||||
import {MarkDown} from "../markdown.js";
|
||||
@@ -20,6 +21,7 @@ interface InfoMap {
|
||||
user?: User;
|
||||
member?: Member;
|
||||
failMessage?: string;
|
||||
guild?: Guild;
|
||||
}
|
||||
export class ReportMenu {
|
||||
variant: string;
|
||||
@@ -460,11 +462,11 @@ class ReportElement {
|
||||
names.classList.add("flexttb");
|
||||
const nameElm = document.createElement("span");
|
||||
nameElm.textContent = name;
|
||||
names.append(name);
|
||||
names.append(nameElm);
|
||||
if (desc) {
|
||||
const descElm = document.createElement("span");
|
||||
descElm.textContent = desc;
|
||||
names.append(desc);
|
||||
names.append(descElm);
|
||||
}
|
||||
elm.append(names, check);
|
||||
div.append(elm);
|
||||
|
||||
Reference in new issue
Block a user