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

check if fast project mode before looking for unsaved change on feature detail page

parent 7229a5fa
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ export default {
]),
hasUnsavedChange() {
if (this.form) {
if (this.project.fast_edition_mode && this.form) {
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