fix: shallow comparison of route query object

pull/260/head
Kevin Yeh 2022-11-26 14:45:49 -08:00
parent bd3f5434c9
commit 0e8186b977
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }