fix: shallow comparison of route query object
parent
bd3f5434c9
commit
0e8186b977
|
@ -240,7 +240,7 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) {
|
||||||
|
|
||||||
@Watch("$route")
|
@Watch("$route")
|
||||||
async routeChange(to: any, from?: any) {
|
async routeChange(to: any, from?: any) {
|
||||||
if (from?.path !== to.path || from.query.recursive !== to.query.recursive) {
|
if (from?.path !== to.path || from.query !== to.query) {
|
||||||
await this.refresh();
|
await this.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue