show notification in frontend

This commit is contained in:
MaysWind
2024-08-05 23:59:57 +08:00
parent 051c319890
commit 0e946a4b3b
12 changed files with 133 additions and 5 deletions
+8
View File
@@ -141,6 +141,10 @@ export default {
setExpenseAndIncomeAmountColor(response.user.expenseAmountColor, response.user.incomeAmountColor);
}
if (response.notificationContent) {
self.rootStore.setNotificationContent(response.notificationContent);
}
});
if (self.settingsStore.appSettings.autoUpdateExchangeRatesData) {
@@ -191,6 +195,10 @@ export default {
setExpenseAndIncomeAmountColor(response.user.expenseAmountColor, response.user.incomeAmountColor);
}
if (response.notificationContent) {
self.rootStore.setNotificationContent(response.notificationContent);
}
});
if (self.settingsStore.appSettings.autoUpdateExchangeRatesData) {