chore: update common dialog default color

This commit is contained in:
Steven
2023-10-09 23:08:52 +08:00
parent acdeabb861
commit 1489feb054
8 changed files with 380 additions and 385 deletions

View File

@ -78,7 +78,7 @@ const PreferencesSection = () => {
showCommonDialog({
title: t("setting.member-section.archive-member"),
content: t("setting.member-section.archive-warning", { username: user.username }),
style: "warning",
style: "danger",
dialogName: "archive-user-dialog",
onConfirm: async () => {
await userStore.patchUser({
@ -102,7 +102,7 @@ const PreferencesSection = () => {
showCommonDialog({
title: t("setting.member-section.delete-member"),
content: t("setting.member-section.delete-warning", { username: user.username }),
style: "warning",
style: "danger",
dialogName: "delete-user-dialog",
onConfirm: async () => {
await userStore.deleteUser({