Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: link footer update button to downloads page for binary installs

towfiqic3a0fbea7824
diff --git a/frontend/src/components/App/Footer/Footer.tsx b/frontend/src/components/App/Footer/Footer.tsx
index 288c08f..b21f00e 100644
--- a/frontend/src/components/App/Footer/Footer.tsx
+++ b/frontend/src/components/App/Footer/Footer.tsx
@@ -10,11 +10,14 @@ interface FooterProps {
latestVersion?: string;
hideUpgradeLink?: boolean;
changeLogUrl?: string;
+ installType?: string;
}
-const Footer = ({ version = '1.0.0', latestVersion, hideUpgradeLink = false, changeLogUrl, edition = '' }: FooterProps) => {
+const Footer = ({ version = '1.0.0', latestVersion, hideUpgradeLink = false, changeLogUrl, edition = '', installType }: FooterProps) => {
const [showUpgrade, setShowUpgrade] = useState(false);
- const updateDocLink = getUpdateDocLink(hideUpgradeLink);
+ const downloadPageLink = hideUpgradeLink ? 'https://account.usepluton.com/' : 'https://usepluton.com/download';
+ const updateDocLink = installType === 'binary' ? downloadPageLink : getUpdateDocLink(hideUpgradeLink);
+
return (
<>
<div className={classes.footer}>