mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 08:32:25 +00:00
move icon setting
This commit is contained in:
1 parent
413897f740
commit
66c1c0cee0
1 file changed
+4
-4
@@ -344,6 +344,10 @@ class Channel extends SnowFlake {
|
||||
form.addMDInput(I18n.channel["topic:"](), "topic", {
|
||||
initText: this.topic,
|
||||
});
|
||||
form.addImageInput(I18n.channel.icon(), "icon", {
|
||||
initImg: this.icon ? this.iconUrl() : undefined,
|
||||
clear: true,
|
||||
});
|
||||
form.addCheckboxInput(I18n.channel["nsfw:"](), "nsfw", {
|
||||
initState: this.nsfw,
|
||||
});
|
||||
@@ -392,10 +396,6 @@ class Channel extends SnowFlake {
|
||||
obj.type = {text: 0, voice: 2, announcement: 5, category: 4}[obj.type as string];
|
||||
});
|
||||
}
|
||||
form.addImageInput(I18n.channel.icon(), "icon", {
|
||||
initImg: this.icon ? this.iconUrl() : undefined,
|
||||
clear: true,
|
||||
});
|
||||
}
|
||||
const s1 = settings.addButton(I18n.channel.permissions(), {optName: ""});
|
||||
|
||||
|
||||
Reference in new issue
Block a user