Fixes for event deletion and updates

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-09-05 14:55:20 +02:00
parent 060f6c8775
commit bcfb142d5b
2 changed files with 9 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ import { ITag } from '@/types/tag.model';
computed: {
tagsStrings: {
get() {
return this.$props.data.map((tag: ITag) => tag.title);
return this.$props.value.map((tag: ITag) => tag.title);
},
set(tagStrings) {
const tagEntities = tagStrings.map((tag) => {