mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix small bug when deleting a config
It would always return error previously. That has been fixed.
This commit is contained in:
@@ -63,7 +63,7 @@ export default function ConfigActions() {
|
|||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
const response = await mutateAsync();
|
const response = await mutateAsync();
|
||||||
|
|
||||||
if (response.message) {
|
if (response.error) {
|
||||||
showNotification({
|
showNotification({
|
||||||
title: t('buttons.delete.notifications.deleteFailedDefaultConfig.title'),
|
title: t('buttons.delete.notifications.deleteFailedDefaultConfig.title'),
|
||||||
message: t('buttons.delete.notifications.deleteFailedDefaultConfig.message'),
|
message: t('buttons.delete.notifications.deleteFailedDefaultConfig.message'),
|
||||||
|
|||||||
Reference in New Issue
Block a user