Commit 04c502a3 authored by Ben Hayward's avatar Ben Hayward

Emit event on load to set querystring properly

1 merge request!433[Sprint/InterestingIguana] Preferred hashtag remembered in local storage #1366
Pipeline #70737719 passed with stages
in 28 minutes and 27 seconds
......@@ -54,8 +54,6 @@ export class SidebarSelectorComponent implements OnInit {
this.initialized = true;
this.detectChanges();
this.detectChanges();
}
async load() {
......@@ -71,8 +69,9 @@ export class SidebarSelectorComponent implements OnInit {
} catch (e) {
console.error('SidebarSelector', e);
}
this.preferredChange();
this.preferredChange();
this.filterChange.emit({
type: this.preferred ? 'preferred' : 'all'
});
this.loading = false;
this.detectChanges();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment