Update ShowHiddenChannels.plugin.js
This commit is contained in:
parent
bbd69216a7
commit
cd83ee76a9
|
@ -3,7 +3,7 @@
|
|||
class ShowHiddenChannels {
|
||||
getName () {return "ShowHiddenChannels";}
|
||||
|
||||
getVersion () {return "2.5.8";}
|
||||
getVersion () {return "2.5.9";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -369,15 +369,19 @@ class ShowHiddenChannels {
|
|||
}, {
|
||||
title: BDFDB.LanguageUtils.LanguageStrings.CATEGORY_NAME,
|
||||
text: category && category.name || BDFDB.LanguageUtils.LanguageStrings.NO_CATEGORY
|
||||
}].map(formlabel =>
|
||||
}].map((formlabel, i) => [,
|
||||
i == 0 ? null : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormDivider, {
|
||||
className: BDFDB.disCN.marginbottom20
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormItem, {
|
||||
title: formlabel.title,
|
||||
className: BDFDB.disCN.marginbottom20,
|
||||
title: `${formlabel.title}:`,
|
||||
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.marginbottom20, i == 0 && BDFDB.disCN.margintop8),
|
||||
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormText, {
|
||||
className: BDFDB.disCN.marginleft8,
|
||||
children: formlabel.text
|
||||
})
|
||||
})
|
||||
)
|
||||
]).flat().filter(n => n)
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ModalComponents.ModalTabContent, {
|
||||
tab: this.labels.modal_allowed_text,
|
||||
|
|
Loading…
Reference in New Issue