Move localStorage key to a constants file

parent a5845965
...@@ -3,8 +3,7 @@ import { GlButton, GlCard, GlCollapse, GlCollapseToggleDirective, GlSprintf } fr ...@@ -3,8 +3,7 @@ import { GlButton, GlCard, GlCollapse, GlCollapseToggleDirective, GlSprintf } fr
import { __ } from '~/locale'; import { __ } from '~/locale';
import AccessorUtilities from '~/lib/utils/accessor'; import AccessorUtilities from '~/lib/utils/accessor';
import { getFormattedSummary } from '../helpers'; import { getFormattedSummary } from '../helpers';
import { COLLAPSE_SECURITY_REPORTS_SUMMARY_LOCAL_STORAGE_KEY as LOCAL_STORAGE_KEY } from '../constants';
const LOCAL_STORAGE_KEY = 'hide_pipelines_security_reports_summary_details';
export default { export default {
name: 'SecurityReportsSummary', name: 'SecurityReportsSummary',
......
/* eslint-disable import/prefer-default-export */
export const COLLAPSE_SECURITY_REPORTS_SUMMARY_LOCAL_STORAGE_KEY =
'hide_pipelines_security_reports_summary_details';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment