🐛(frontend) fix inverted toast message for settings toggles

fixes inverted toast introduced in smart search PR

Remove fixed inverted toast entry from changelog
This commit is contained in:
eliott07
2026-03-05 13:31:46 +01:00
parent 4545083210
commit c17a8ae9b9
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -32,6 +32,7 @@ and this project adheres to
- 🐛(front) fix math formulas and carousel translations
- 🐛(helm) reverse liveness and readiness for backend deployment
- 🐛(front) fix dark mode styling on chat messages
- 🐛(front) fixed inverted toast for setting changes
## [0.0.13] - 2026-02-09
@@ -47,8 +47,8 @@ export const SettingsModal = ({ onClose, isOpen }: SettingsModalProps) => {
});
const toastMessage = updatedValue
? t(STATUS_I18N_KEYS[field].disabled)
: t(STATUS_I18N_KEYS[field].enabled);
? t(STATUS_I18N_KEYS[field].enabled)
: t(STATUS_I18N_KEYS[field].disabled);
showToast('success', toastMessage, 'check_circle', 3000);
} catch (error) {
console.error(`Error updating user settings for ${field}:`, error);