mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 16:53:36 -05:00
chore: update strings and permission lists
This commit is contained in:
parent
9a5653bc02
commit
a4b8fb5fc2
3 changed files with 4 additions and 4 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit dd597a0fb984e6c681dcf936bdbb1fc07c0521dd
|
||||
Subproject commit 81526bc70e39a90d6e64a60c34d7d4478b95b05a
|
|
@ -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",
|
||||
]}
|
||||
|
|
Loading…
Reference in a new issue