Commit 74ef2614 authored by Coung Ngo's avatar Coung Ngo Committed by Denys Mishunov

Fix object prop default to empty object

parent 2afa9308
......@@ -34,7 +34,7 @@ export default {
selectedStage: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
withStageCounts: {
type: Boolean,
......
......@@ -15,7 +15,7 @@ export default {
issuableTemplates: {
type: [Object, Array],
required: false,
default: () => {},
default: () => ({}),
},
projectPath: {
type: String,
......
......@@ -33,7 +33,7 @@ export default {
issuableTemplates: {
type: [Object, Array],
required: false,
default: () => {},
default: () => [],
},
issuableType: {
type: String,
......
......@@ -42,12 +42,12 @@ export default {
itemsCount: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
pageInfo: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
statusTabs: {
type: Array,
......
......@@ -40,7 +40,7 @@ export default {
enabledNamespaces: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
groups: {
type: Array,
......
......@@ -47,7 +47,7 @@ export default {
chartData: {
type: [Object, Array],
required: false,
default: () => {},
default: () => [],
},
},
computed: {
......
......@@ -16,7 +16,7 @@ export default {
mergedBy: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
},
computed: {
......
......@@ -70,7 +70,7 @@ export default {
validationState: {
type: Object,
required: false,
default: () => {},
default: () => ({}),
},
},
data() {
......
......@@ -9,7 +9,7 @@ export default {
healthStatus: {
type: Object,
required: true,
default: () => {},
default: () => ({}),
},
},
computed: {
......
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