refactor: Rename "suspend" into "ban" for account deletion

This commit is contained in:
Massedil
2025-09-27 16:47:53 +02:00
parent 4afbe18621
commit 6d42c700bf
8 changed files with 39 additions and 37 deletions

View File

@@ -243,7 +243,7 @@ import { useRouter } from "vue-router";
import {
CHANGE_EMAIL,
CHANGE_PASSWORD,
DELETE_ACCOUNT,
DELETE_ACCOUNT_AS_USER,
} from "../../graphql/user";
import RouteName from "../../router/name";
import { logout, SELECTED_PROVIDERS } from "../../utils/auth";
@@ -342,7 +342,7 @@ const {
onDone: deleteAccountMutationDone,
onError: deleteAccountMutationError,
} = useMutation<{ deleteAccount: { id: string } }, { password?: string }>(
DELETE_ACCOUNT
DELETE_ACCOUNT_AS_USER
);
const { notification } = useOruga();