diff --git a/src/views/Feature/FeatureDetail.vue b/src/views/Feature/FeatureDetail.vue index 068c993d8fa378c8f446b982353ef98aaecc5f9a..fd547578dd6184020837ccb692fce61e37dcd08f 100644 --- a/src/views/Feature/FeatureDetail.vue +++ b/src/views/Feature/FeatureDetail.vue @@ -264,7 +264,7 @@ export default { ]), hasUnsavedChange() { - if (this.project.fast_edition_mode && this.form) { + if (this.project.fast_edition_mode && this.form && this.currentFeature) { if (this.form.title !== this.currentFeature.title) return true; if (this.form.description.value !== this.currentFeature.description) return true; if (this.form.status.value !== this.currentFeature.status) return true;