Commit 82b2a417 authored by Kushal Pandya's avatar Kushal Pandya

Add missing app name for ease of debugging

Adds missing `name` param for Vue app init
function call for all apps within Product Planning.
parent 4d9be902
......@@ -12,6 +12,7 @@ export default () => {
// eslint-disable-next-line no-new
new Vue({
el,
name: 'ConfigToggleRoot',
render(h) {
return h(ConfigToggle, {
props: {
......
......@@ -64,6 +64,7 @@ function mountBoardApp(el) {
// eslint-disable-next-line no-new
new Vue({
el,
name: 'BoardAppRoot',
store,
apolloProvider,
provide: {
......@@ -121,6 +122,7 @@ export default () => {
// eslint-disable-next-line no-new
new Vue({
el: createColumnTriggerEl,
name: 'BoardAddNewColumnTriggerRoot',
components: {
BoardAddNewColumnTrigger,
},
......
......@@ -18,6 +18,7 @@ export default (apolloProvider, isSignedIn, releasesFetchPath) => {
return new Vue({
el,
name: 'BoardFilteredSearchRoot',
provide: {
initialFilterParams,
isSignedIn,
......
......@@ -16,6 +16,7 @@ export default (params = {}) => {
const { dataset } = boardsSwitcherElement;
return new Vue({
el: boardsSwitcherElement,
name: 'BoardsSelectorRoot',
components: {
BoardsSelector,
},
......
......@@ -6,6 +6,7 @@ export default () => {
return new Vue({
el: '#js-toggle-focus-btn',
name: 'ToggleFocusRoot',
render(h) {
return h(ToggleFocus, {
props: {
......
......@@ -17,6 +17,7 @@ export default (apolloProvider) => {
return new Vue({
el,
name: 'EpicBoardFilteredSearchRoot',
provide: {
initialFilterParams,
},
......
......@@ -11,6 +11,7 @@ export default () => {
return new Vue({
el,
name: 'ToggleEpicsSwimlanesRoot',
components: {
ToggleEpicsSwimlanes,
},
......
......@@ -5,6 +5,7 @@ import ToggleLabels from './components/toggle_labels.vue';
export default () =>
new Vue({
el: document.getElementById('js-board-labels-toggle'),
name: 'ToggleLabelsRoot',
components: {
ToggleLabels,
},
......
......@@ -52,6 +52,7 @@ export default () => {
return new Vue({
el,
name: 'EpicRoot',
apolloProvider,
store,
components: { EpicApp },
......
......@@ -26,6 +26,7 @@ export function initEpicForm() {
return new Vue({
el,
name: 'EpicCreateRoot',
apolloProvider,
provide: {
groupPath,
......
......@@ -49,6 +49,7 @@ function mountBoardApp(el) {
// eslint-disable-next-line no-new
new Vue({
el,
name: 'BoardRoot',
store,
apolloProvider,
provide: {
......@@ -104,6 +105,7 @@ export default () => {
// eslint-disable-next-line no-new
new Vue({
el: createColumnTriggerEl,
name: 'BoardAddNewColumnTriggerRoot',
components: {
BoardAddNewColumnTrigger,
},
......
......@@ -56,6 +56,7 @@ export default function initEpicsList({ mountPointSelector }) {
return new Vue({
el: mountPointEl,
name: 'EpicsListRoot',
apolloProvider,
provide: {
initialState,
......
......@@ -38,6 +38,7 @@ export default () => {
return new Vue({
el,
name: 'RelatedItemsTreeRoot',
store: createStore(),
components: { RelatedItemsTreeApp },
created() {
......
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