Clean up code

This commit is contained in:
Ramon Wenger 2018-10-24 15:02:25 +02:00
parent 4e6497f74a
commit 41e8aac63c
4 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@
type: String, type: String,
default: 'ContentBlock' default: 'ContentBlock'
}, },
showTaskSelection: { 'show-task-selection': {
type: Boolean, type: Boolean,
default: false default: false
} }

View File

@ -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>

View File

@ -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>

View File

@ -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"