From 7e791e56ce1b43f8841e1009593e734fb263b27c Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 8 Aug 2023 07:57:51 +0200 Subject: [PATCH] hardcode links to release notes --- .../src/framework/system/SystemStatusVersionDialog.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/interface/src/framework/system/SystemStatusVersionDialog.tsx b/interface/src/framework/system/SystemStatusVersionDialog.tsx index c18806234..fa2851025 100644 --- a/interface/src/framework/system/SystemStatusVersionDialog.tsx +++ b/interface/src/framework/system/SystemStatusVersionDialog.tsx @@ -27,6 +27,9 @@ const SystemStatusVersionDialog = ({ open, onClose, version, platform }: SystemS const STABLE_URL = 'https://github.com/emsesp/EMS-ESP32/releases/download/'; const DEV_URL = 'https://github.com/emsesp/EMS-ESP32/releases/download/latest/'; + const STABLE_RELNOTES_URL = 'https://github.com/emsesp/EMS-ESP32/blob/main/CHANGELOG.md'; + const DEV_RELNOTES_URL = 'https://github.com/emsesp/EMS-ESP32/blob/dev/CHANGELOG_LATEST.md'; + const uploadURL = window.location.origin + '/system/upload'; const connected = latestVersion && latestDevVersion; @@ -54,7 +57,7 @@ const SystemStatusVersionDialog = ({ open, onClose, version, platform }: SystemS {LL.THE_LATEST()} {LL.OFFICIAL()} {LL.RELEASE_IS()} {latestVersion}  ( - + {LL.RELEASE_NOTES()} ) ( @@ -73,7 +76,7 @@ const SystemStatusVersionDialog = ({ open, onClose, version, platform }: SystemS {LL.THE_LATEST()} {LL.DEVELOPMENT()} {LL.RELEASE_IS()}  {latestDevVersion}  ( - + {LL.RELEASE_NOTES()} ) (