Make all props required
This commit is contained in:
parent
523e11b7ba
commit
0b8f169a02
1 changed files with 20 additions and 5 deletions
|
|
@ -76,11 +76,26 @@ import Icon from "./Icon.vue";
|
||||||
export default {
|
export default {
|
||||||
name: `ControlBar`,
|
name: `ControlBar`,
|
||||||
props: {
|
props: {
|
||||||
data_exists: Boolean,
|
data_exists: {
|
||||||
dev: Boolean,
|
type: Boolean,
|
||||||
preview: Boolean,
|
required: true,
|
||||||
api_url: String,
|
},
|
||||||
token: String,
|
dev: {
|
||||||
|
type: Boolean,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
preview: {
|
||||||
|
type: Boolean,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
api_url: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
token: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
icon: Icon,
|
icon: Icon,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue