Skip to content
Snippets Groups Projects
Commit e42cb757 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

prevent undefined currentFeature

parent 48ae116f
No related branches found
No related tags found
1 merge request!466REDMINE_ISSUE-14531|Mode édition rapide - Bug lorsque le modérateur passe un ticket en brouillon
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment