Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/grafana_integration/store/state.js')
-rw-r--r--app/assets/javascripts/grafana_integration/store/state.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/assets/javascripts/grafana_integration/store/state.js b/app/assets/javascripts/grafana_integration/store/state.js
deleted file mode 100644
index a912eb58327..00000000000
--- a/app/assets/javascripts/grafana_integration/store/state.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import { parseBoolean } from '~/lib/utils/common_utils';
-
-export default (initialState = {}) => ({
- operationsSettingsEndpoint: initialState.operationsSettingsEndpoint,
- grafanaToken: initialState.grafanaIntegrationToken || '',
- grafanaUrl: initialState.grafanaIntegrationUrl || '',
- grafanaEnabled: parseBoolean(initialState.grafanaIntegrationEnabled) || false,
-});