mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
chore: update strings and permission lists
This commit is contained in:
@@ -18,7 +18,6 @@ export function PermissionList({ value, onChange, filter, target }: Props) {
|
||||
(key) =>
|
||||
![
|
||||
"GrantAllSafe",
|
||||
"TimeoutMembers",
|
||||
"ReadMessageHistory",
|
||||
"Speak",
|
||||
"Video",
|
||||
|
||||
@@ -6,10 +6,10 @@ import { DEFAULT_PERMISSION_DIRECT_MESSAGE } from "revolt.js";
|
||||
import { Text } from "preact-i18n";
|
||||
import { useState } from "preact/hooks";
|
||||
|
||||
import { TextReact } from "../../../lib/i18n";
|
||||
|
||||
import { PermissionsLayout, Button, SpaceBetween, H1 } from "@revoltchat/ui";
|
||||
|
||||
import { TextReact } from "../../../lib/i18n";
|
||||
|
||||
import { PermissionList } from "../../../components/settings/roles/PermissionList";
|
||||
import { RoleOrDefault } from "../../../components/settings/roles/RoleSelection";
|
||||
import { useRoles } from "../server/Roles";
|
||||
@@ -109,6 +109,7 @@ export default observer(({ channel }: Props) => {
|
||||
"SendEmbeds",
|
||||
"UploadFiles",
|
||||
"Masquerade",
|
||||
"React",
|
||||
"ManageChannel",
|
||||
"ManagePermissions",
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user