Commit b3704daf authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Use then instead of finally.

parent 696de46a
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
mounted() { mounted() {
const path = this.$el.parentNode.dataset.discussionsPath; const path = this.$el.parentNode.dataset.discussionsPath;
this.$store.dispatch('fetchNotes', path) this.$store.dispatch('fetchNotes', path)
.finally(() => { .then(() => {
this.isLoading = false; this.isLoading = false;
}); });
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment