diff --git a/external/lang b/external/lang index 52f1c311..a612fddf 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit 52f1c3118a72a78adfd5b848b24725f5cf55dea1 +Subproject commit a612fddf481620d8578b7accb8ed312e7db5bc19 diff --git a/src/pages/settings/channel/Permissions.tsx b/src/pages/settings/channel/Permissions.tsx index 6d246f38..54a63d24 100644 --- a/src/pages/settings/channel/Permissions.tsx +++ b/src/pages/settings/channel/Permissions.tsx @@ -27,7 +27,8 @@ export default observer(({ channel }: Props) => { for (const b of Object.keys(a)) { roles[b] = { name: a[b].name, - permissions: a[b].permissions[1], + permissions: + channel.role_permissions?.[b] ?? a[b].permissions[1], }; } }