chore: channel visibility only in admin
This commit is contained in:
@@ -119,7 +119,7 @@ export default function Overview({ id = 0 }) {
|
|||||||
id="name"
|
id="name"
|
||||||
placeholder={t("topic_placeholder")} />
|
placeholder={t("topic_placeholder")} />
|
||||||
</div>
|
</div>
|
||||||
{!readOnly && <div className={inputClass}>
|
{!readOnly && loginUser.is_admin && <div className={inputClass}>
|
||||||
<Label htmlFor="desc">{t("visibility")}</Label>
|
<Label htmlFor="desc">{t("visibility")}</Label>
|
||||||
<Radio
|
<Radio
|
||||||
options={[t("public"), t("private")]}
|
options={[t("public"), t("private")]}
|
||||||
|
|||||||
Reference in New Issue
Block a user