Skip to content

Commit 70a12b3

Browse files
author
Andrey Helldar
committed
Fixed display of loading bar when clearing routes
1 parent 60d47ae commit 70a12b3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

resources/views/scripts.blade.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,12 @@
232232
this.loading = true;
233233
234234
axios.post(this.url.clean)
235-
.then(response => {
236-
this.getRoutes(true);
237-
})
238-
.catch(error => console.error(error))
239-
.finally(() => this.loading = false);
235+
.then(response => this.getRoutes(true))
236+
.catch(error => {
237+
console.error(error);
238+
239+
this.loading = false;
240+
});
240241
},
241242
242243
getRoutesKey(key) {

0 commit comments

Comments
 (0)