From a37fc0dc1f64e7e8becaabc8296a4bec80bc8dc7 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/Radarr.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 80ecbcbd4..b68ff26fd 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 62d5b5d13..b07e29cb8 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/Radarr.Http/Frontend/InitializeJsController.cs b/src/Radarr.Http/Frontend/InitializeJsController.cs index e06343e2e..daacaab6d 100644 --- a/src/Radarr.Http/Frontend/InitializeJsController.cs +++ b/src/Radarr.Http/Frontend/InitializeJsController.cs @@ -48,6 +48,7 @@ private string GetContent() 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()}',");