diff --git a/csharp/App/Backend/Database/Read.cs b/csharp/App/Backend/Database/Read.cs index 14758c1b1..c98465155 100644 --- a/csharp/App/Backend/Database/Read.cs +++ b/csharp/App/Backend/Database/Read.cs @@ -19,6 +19,12 @@ public static partial class Db .FirstOrDefault(i => i.Id == id); } + public static UserAction? GetActionById(Int64? id) + { + return UserActions + .FirstOrDefault(i => i.Id == id); + } + public static User? GetUserById(Int64? id) { return Users diff --git a/typescript/frontend-marios2/src/content/dashboards/SalidomoInstallations/Installation.tsx b/typescript/frontend-marios2/src/content/dashboards/SalidomoInstallations/Installation.tsx index f575b44ae..0bd2fd780 100644 --- a/typescript/frontend-marios2/src/content/dashboards/SalidomoInstallations/Installation.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/SalidomoInstallations/Installation.tsx @@ -276,27 +276,30 @@ function Installation(props: singleInstallationProps) { /> - {loading && currentTab != 'information' && currentTab != 'overview' && ( - - - - Connecting to the device... - - - )} + + + Connecting to the device... + + + )} (undefined); const [fetchedInstallations, setFetchedInstallations] =