fix: Consistency of member/editor language

fix: 'Delete' option on collection menu should show as dangerous
This commit is contained in:
Tom Moor
2024-01-31 20:55:37 -05:00
parent 0f125886b7
commit 8e3cec01f8
5 changed files with 18 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ function UserMenu({ user }: Props) {
(ev: React.SyntheticEvent) => {
ev.preventDefault();
dialogs.openModal({
title: t("Change role to member"),
title: t("Change role to editor"),
isCentered: true,
content: (
<UserChangeToMemberDialog
@@ -155,7 +155,7 @@ function UserMenu({ user }: Props) {
items={[
{
type: "button",
title: `${t("Change role to member")}`,
title: `${t("Change role to editor")}`,
onClick: handleMember,
visible: can.demote && user.role !== "member",
},