Clean up code
This commit is contained in:
parent
4e6497f74a
commit
41e8aac63c
|
|
@ -83,7 +83,7 @@
|
||||||
type: String,
|
type: String,
|
||||||
default: 'ContentBlock'
|
default: 'ContentBlock'
|
||||||
},
|
},
|
||||||
showTaskSelection: {
|
'show-task-selection': {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<contents-form
|
<contents-form
|
||||||
:content-block="contentBlock"
|
:content-block="contentBlock"
|
||||||
v-bind:showTaskSelection="true"
|
:show-task-selection="true"
|
||||||
@save="saveContentBlock"
|
@save="saveContentBlock"
|
||||||
@hide="hideModal"
|
@hide="hideModal"
|
||||||
></contents-form>
|
></contents-form>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<contents-form
|
<contents-form
|
||||||
:content-block="contentBlock"
|
:content-block="contentBlock"
|
||||||
v-bind:showTaskSelection="true"
|
:show-task-selection="true"
|
||||||
@save="saveContentBlock"
|
@save="saveContentBlock"
|
||||||
@hide="hideModal"
|
@hide="hideModal"
|
||||||
></contents-form>
|
></contents-form>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<contents-form
|
<contents-form
|
||||||
:content-block="entry"
|
:content-block="entry"
|
||||||
v-bind:showTaskSelection="false"
|
:show-task-selection="false"
|
||||||
@save="saveEntry"
|
@save="saveEntry"
|
||||||
block-type="RoomEntry"
|
block-type="RoomEntry"
|
||||||
@hide="hideModal"
|
@hide="hideModal"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue