From a8304a904c3a172895f9f389503c0d09f550b533 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 12 May 2022 19:06:14 -0500 Subject: [PATCH] New: Instance name for Page Title --- frontend/src/App/App.js | 2 +- frontend/src/Components/Page/PageContent.js | 2 +- src/Lidarr.Http/Frontend/InitializeJsController.cs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/App/App.js b/frontend/src/App/App.js index 883504efd..e4384040a 100644 --- a/frontend/src/App/App.js +++ b/frontend/src/App/App.js @@ -8,7 +8,7 @@ import AppRoutes from './AppRoutes'; function App({ store, history }) { return ( - + diff --git a/frontend/src/Components/Page/PageContent.js b/frontend/src/Components/Page/PageContent.js index e7a650bb4..ec5bf4a54 100644 --- a/frontend/src/Components/Page/PageContent.js +++ b/frontend/src/Components/Page/PageContent.js @@ -14,7 +14,7 @@ function PageContent(props) { return ( - +
{children}
diff --git a/src/Lidarr.Http/Frontend/InitializeJsController.cs b/src/Lidarr.Http/Frontend/InitializeJsController.cs index ef7fd5112..d44d7582f 100644 --- a/src/Lidarr.Http/Frontend/InitializeJsController.cs +++ b/src/Lidarr.Http/Frontend/InitializeJsController.cs @@ -49,6 +49,7 @@ namespace Lidarr.Http.Frontend builder.AppendLine($" apiKey: '{_apiKey}',"); builder.AppendLine($" release: '{BuildInfo.Release}',"); builder.AppendLine($" version: '{BuildInfo.Version.ToString()}',"); + builder.AppendLine($" instanceName: '{_configFileProvider.InstanceName.ToString()}',"); builder.AppendLine($" branch: '{_configFileProvider.Branch.ToLower()}',"); builder.AppendLine($" analytics: {_analyticsService.IsEnabled.ToString().ToLowerInvariant()},"); builder.AppendLine($" userHash: '{HashUtil.AnonymousToken()}',");