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