Commit dbdc1e3d authored by Simon Knox's avatar Simon Knox

Merge branch 'cngo-move_issuable_header_warnings.vue' into 'master'

Move issuable_header_warnings.vue into ~/issuable

See merge request gitlab-org/gitlab!76095
parents 323df002 375760bb
import Vue from 'vue'; import Vue from 'vue';
import { parseBoolean } from '~/lib/utils/common_utils'; import { parseBoolean } from '~/lib/utils/common_utils';
import IssuableHeaderWarnings from './issuable_header_warnings.vue'; import IssuableHeaderWarnings from './components/issuable_header_warnings.vue';
export default function issuableHeaderWarnings(store) { export default function issuableHeaderWarnings(store) {
const el = document.getElementById('js-issuable-header-warnings'); const el = document.getElementById('js-issuable-header-warnings');
......
...@@ -10,7 +10,7 @@ import initNotesApp from '~/notes'; ...@@ -10,7 +10,7 @@ import initNotesApp from '~/notes';
import { store } from '~/notes/stores'; import { store } from '~/notes/stores';
import initRelatedMergeRequestsApp from '~/related_merge_requests'; import initRelatedMergeRequestsApp from '~/related_merge_requests';
import initSentryErrorStackTraceApp from '~/sentry_error_stack_trace'; import initSentryErrorStackTraceApp from '~/sentry_error_stack_trace';
import initIssuableHeaderWarning from '~/vue_shared/components/issuable/init_issuable_header_warning'; import initIssuableHeaderWarning from '~/issuable/init_issuable_header_warning';
import ZenMode from '~/zen_mode'; import ZenMode from '~/zen_mode';
export default function initShowIssue() { export default function initShowIssue() {
......
...@@ -2,7 +2,7 @@ import { initReviewBar } from '~/batch_comments'; ...@@ -2,7 +2,7 @@ import { initReviewBar } from '~/batch_comments';
import initMrNotes from '~/mr_notes'; import initMrNotes from '~/mr_notes';
import store from '~/mr_notes/stores'; import store from '~/mr_notes/stores';
import initSidebarBundle from '~/sidebar/sidebar_bundle'; import initSidebarBundle from '~/sidebar/sidebar_bundle';
import initIssuableHeaderWarning from '~/vue_shared/components/issuable/init_issuable_header_warning'; import initIssuableHeaderWarning from '~/issuable/init_issuable_header_warning';
import initShow from '../init_merge_request_show'; import initShow from '../init_merge_request_show';
initMrNotes(); initMrNotes();
......
...@@ -4,7 +4,7 @@ import { createMockDirective, getBinding } from 'helpers/vue_mock_directive'; ...@@ -4,7 +4,7 @@ import { createMockDirective, getBinding } from 'helpers/vue_mock_directive';
import { shallowMountExtended } from 'helpers/vue_test_utils_helper'; import { shallowMountExtended } from 'helpers/vue_test_utils_helper';
import { createStore as createMrStore } from '~/mr_notes/stores'; import { createStore as createMrStore } from '~/mr_notes/stores';
import createIssueStore from '~/notes/stores'; import createIssueStore from '~/notes/stores';
import IssuableHeaderWarnings from '~/vue_shared/components/issuable/issuable_header_warnings.vue'; import IssuableHeaderWarnings from '~/issuable/components/issuable_header_warnings.vue';
const ISSUABLE_TYPE_ISSUE = 'issue'; const ISSUABLE_TYPE_ISSUE = 'issue';
const ISSUABLE_TYPE_MR = 'merge request'; const ISSUABLE_TYPE_MR = 'merge request';
......
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