🐛 Fix small bug when deleting a config

It would always return error previously. That has been fixed.
This commit is contained in:
ajnart
2023-05-15 16:24:05 +09:00
parent c2c0d0bb55
commit 9f4f3794b0

View File

@@ -63,7 +63,7 @@ export default function ConfigActions() {
onConfirm: async () => {
const response = await mutateAsync();
if (response.message) {
if (response.error) {
showNotification({
title: t('buttons.delete.notifications.deleteFailedDefaultConfig.title'),
message: t('buttons.delete.notifications.deleteFailedDefaultConfig.message'),