Update version notification message for Pikapods instances (#5146)

This commit is contained in:
Matiss Janis Aboltins
2025-06-14 14:54:46 +01:00
committed by GitHub
parent fbd6989a18
commit 6509e80061
2 changed files with 16 additions and 4 deletions

View File

@@ -147,10 +147,16 @@ export function FinancesApp() {
notification: {
type: 'message',
title: t('A new version of Actual is available!'),
message: t(
'Version {{latestVersion}} of Actual was recently released.',
{ latestVersion },
),
message:
(process.env.REACT_APP_IS_PIKAPODS ?? '').toLowerCase() ===
'true'
? t(
'A new version of Actual is available! Your Pikapods instance will be automatically updated in the next few days - no action needed.',
)
: t(
'Version {{latestVersion}} of Actual was recently released.',
{ latestVersion },
),
sticky: true,
id: 'update-notification',
button: {

View File

@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [MatissJanis]
---
Update version notification message for Pikapods instances