Confirm discard changes modal is shown when saving a new custom dashboard
Problem to solve
When saving a new custom dashboard the user is erroneously shown a confirm discard changes modal.
Expected behaviour
The user is redirected to their newly created dashboard without needing to confirm any modal.
Screenshots
Proposed solution
Don't show the confirmation modal when a user is saving a new dashboard.
Implementation plan
Don't call confirmDiscardChanges
if this.isSaving === true
in customizable_dashboard.vue
.
Edited by Jiaan Louw