A local-first personal finance app
feat: add server version to ManagementApp
Arthur E. Jones0ab294b50ee4
diff --git a/packages/desktop-client/src/components/manager/ManagementApp.js b/packages/desktop-client/src/components/manager/ManagementApp.jsindex 3d4a2d2f43..b7014654c7 100644--- a/packages/desktop-client/src/components/manager/ManagementApp.js+++ b/packages/desktop-client/src/components/manager/ManagementApp.js@@ -16,8 +16,11 @@ import Bootstrap from './subscribe/Bootstrap';import Error from './subscribe/Error';import ChangePassword from './subscribe/ChangePassword';import ConfigServer from './ConfigServer';+import useServerVersion from '../../hooks/useServerVersion'function Version() {+ const version = useServerVersion();+return (<ExternalLinkstyle={{@@ -32,7 +35,7 @@ function Version() {}}href={'https://actualbudget.com/blog/' + window.Actual.ACTUAL_VERSION}>- {window.Actual.ACTUAL_VERSION}+ {`App: v${window.Actual.ACTUAL_VERSION} | Server: ${version}`}</ExternalLink>);}