Commit 1feebed5 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'cngo-fix-object-prop-default' into 'master'

Fix object prop default to empty object

See merge request gitlab-org/gitlab!66650
parents a67734ba 74ef2614
......@@ -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: {
......
......@@ -77,7 +77,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