From 41615fe02682a18e0edaffefba8cd881229a1a40 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/Readarr.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 868c498e6..5e9136eb8 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 dc7ba01e4..8388595ef 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/Readarr.Http/Frontend/InitializeJsController.cs b/src/Readarr.Http/Frontend/InitializeJsController.cs index d32b6da63..35f90c63d 100644 --- a/src/Readarr.Http/Frontend/InitializeJsController.cs +++ b/src/Readarr.Http/Frontend/InitializeJsController.cs @@ -49,6 +49,7 @@ namespace Readarr.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()}',");