summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/operation_settings/store/state.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/operation_settings/store/state.js')
-rw-r--r--app/assets/javascripts/operation_settings/store/state.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/operation_settings/store/state.js b/app/assets/javascripts/operation_settings/store/state.js
new file mode 100644
index 00000000000..72167141c48
--- /dev/null
+++ b/app/assets/javascripts/operation_settings/store/state.js
@@ -0,0 +1,5 @@
+export default (initialState = {}) => ({
+ externalDashboardUrl: initialState.externalDashboardUrl || '',
+ operationsSettingsEndpoint: initialState.operationsSettingsEndpoint,
+ externalDashboardHelpPagePath: initialState.externalDashboardHelpPagePath,
+});