mirror of https://github.com/apache/cloudstack.git
The route config creates two groups of section components one for each related paths that are cache and reused. Once these two groups of components are mounted, on route change fetchData() is called twice by two of such cached components beloning to two groups of paths. This commit fixes this issue by using logical XOR to identify the current component against related `to` route and the path the component was in and only calls fetchData if `to` route and currentPath are of the same group of routes. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> |
||
|---|---|---|
| .. | ||
| api | ||
| assets | ||
| components | ||
| config | ||
| core | ||
| layouts | ||
| locales | ||
| router | ||
| store | ||
| style | ||
| utils | ||
| views | ||
| App.vue | ||
| main.js | ||
| permission.js | ||