From 044a273274b80b3faf89f59976b2b0b815401d07 Mon Sep 17 00:00:00 2001 From: Florent <florent@MacBook-Air-de-neogeo.local> Date: Fri, 26 Nov 2021 14:33:42 +0100 Subject: [PATCH] clean --- src/components/feature/FeatureLinkedForm.vue | 29 -------------------- 1 file changed, 29 deletions(-) diff --git a/src/components/feature/FeatureLinkedForm.vue b/src/components/feature/FeatureLinkedForm.vue index 212c1b02..27c60fbd 100644 --- a/src/components/feature/FeatureLinkedForm.vue +++ b/src/components/feature/FeatureLinkedForm.vue @@ -30,11 +30,6 @@ <label for="form.feature_to.id_for_label">{{ form.feature_to.label }}</label> - <!-- <Dropdown - :options="featureOptions" - :selected="selected_feature_to" - :selection.sync="selected_feature_to" - /> --> <SearchFeature @select="selectFeatureTo" @close="selectFeatureTo" @@ -98,22 +93,6 @@ export default { }, computed: { - // featureOptions: function () { - // return this.features - // .filter( - // (el) => - // el.feature_type.slug === this.$route.params.slug_type_signal && //* filter only for the same feature - // el.feature_id !== this.$route.params.slug_signal //* filter out current feature - // ) - // .map((el) => { - // return { - // name: `${el.title} (${el.display_creator} - ${this.formatDate( - // el.created_on - // )})`, - // value: el.feature_id, - // }; - // }); - // }, selected_relation_type: { // getter @@ -128,14 +107,6 @@ export default { } }, - // watch: { - // featureOptions(newValue) { - // if (newValue) { - // this.getExistingFeature_to(newValue); - // } - // }, - // }, - methods: { formatDate(value) { let date = new Date(value); -- GitLab