mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
test: follow the newest-entry read and the pulse card toast count
This commit is contained in:
1 parent
f715190703
commit
852433255c
3 files changed
+7
-5
No files matched your search
@@ -106,10 +106,12 @@ export function PulseDayMeanCard() {
|
||||
? t("admin.section.pulseDayMean.applied")
|
||||
: t("admin.section.pulseDayMean.appliedNoRebuild"),
|
||||
);
|
||||
} else if (action === "rebuild") {
|
||||
toast.success(t("admin.section.pulseDayMean.rebuildStarted"));
|
||||
} else {
|
||||
toast.success(t("admin.section.pulseDayMean.dryRunStarted"));
|
||||
toast.success(
|
||||
action === "rebuild"
|
||||
? t("admin.section.pulseDayMean.rebuildStarted")
|
||||
: t("admin.section.pulseDayMean.dryRunStarted"),
|
||||
);
|
||||
}
|
||||
void queryClient.invalidateQueries({
|
||||
queryKey: queryKeys.adminPulseDayMean(),
|
||||
|
||||
Reference in new issue
Block a user