From 8e189a9e7c7387cc91436a7818e1add794c158a2 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 12 Apr 2021 12:50:55 +0200 Subject: [PATCH] Implemented visibility interface --- src/components/forms/FormProjectDetails.vue | 7 ++++++- src/components/forms/FormTagDetails.vue | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/components/forms/FormProjectDetails.vue b/src/components/forms/FormProjectDetails.vue index 5cebc90..16943d8 100644 --- a/src/components/forms/FormProjectDetails.vue +++ b/src/components/forms/FormProjectDetails.vue @@ -4,6 +4,9 @@ + + Visible + @@ -63,7 +66,8 @@ export default { project_id: undefined, start_date: undefined, name: undefined, - color: undefined + color: undefined, + visible: undefined } }; }, @@ -105,6 +109,7 @@ export default { this.form.name = this.project.name; this.form.start_date = this.project.start_date; this.form.color = this.project.color; + this.form.visible = this.project.visible; } }; diff --git a/src/components/forms/FormTagDetails.vue b/src/components/forms/FormTagDetails.vue index 7e4c225..27f15fe 100644 --- a/src/components/forms/FormTagDetails.vue +++ b/src/components/forms/FormTagDetails.vue @@ -4,6 +4,9 @@ + + Visible + @@ -48,7 +51,8 @@ export default { working: false, form: { record_tag_id: undefined, - name: undefined + name: undefined, + visible: undefined } }; }, @@ -84,6 +88,8 @@ export default { created: function() { this.form.record_tag_id = this.tag.record_tag_id; this.form.name = this.tag.name; + console.log(this.tag); + this.form.visible = this.tag.visible; } };