Skip to content

Commit

Permalink
Merge pull request #11376 from torchiaf/harvester-fix-4
Browse files Browse the repository at this point in the history
Show loading indicator on route change
  • Loading branch information
torchiaf committed Jul 9, 2024
2 parents ef3db21 + 7e0b79f commit c6d3aae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shell/initialize/entry-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ async function render(to, from, next) {
next: _next.bind(this)
});

if (this.$loading.start && !this.$loading.manual) {
this.$loading.start();
}

// Get route's matched components
const matches = [];
const Components = getMatchedComponents(to, matches);
Expand Down

0 comments on commit c6d3aae

Please sign in to comment.