diff --git a/csharp/App/Backend/DataTypes/Methods/User.cs b/csharp/App/Backend/DataTypes/Methods/User.cs index 3eb708713..331c44b44 100644 --- a/csharp/App/Backend/DataTypes/Methods/User.cs +++ b/csharp/App/Backend/DataTypes/Methods/User.cs @@ -524,7 +524,13 @@ public static class UserMethods Installation installation, String notifiedByName) { - var checklistLink = $"https://monitor.inesco.energy/sodiohome_installations/installation/{installation.Id}/checklist"; + var productPath = installation.Product switch + { + 4 => "sodistoregrid_installations", + 5 => "sodistorepro_installations", + _ => "sodiohome_installations" + }; + var checklistLink = $"https://monitor.inesco.energy/{productPath}/installation/{installation.Id}/checklist"; var installationName = String.IsNullOrEmpty(installation.Name) ? $"#{installation.Id}" : installation.Name; var commentsBlock = String.IsNullOrWhiteSpace(item.Comments) ? "" : item.Comments; diff --git a/typescript/frontend-marios2/src/content/dashboards/Installations/Installation.tsx b/typescript/frontend-marios2/src/content/dashboards/Installations/Installation.tsx index f7187b695..3aae45443 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Installations/Installation.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Installations/Installation.tsx @@ -388,7 +388,8 @@ function Installation(props: singleInstallationProps) { currentTab != 'history' && // currentTab != 'manage' && currentTab != 'log' && - currentTab != 'installationTickets' && ( + currentTab != 'installationTickets' && + currentTab != 'checklist' && (