settings_data: Break circular dependency with people.

This commit is contained in:
Priyank Patel
2021-07-19 17:26:17 +00:00
committed by Tim Abbott
parent c7be17eb73
commit 231c536cad
3 changed files with 14 additions and 11 deletions

View File

@@ -499,6 +499,7 @@ export function initialize_everything() {
popover_menus.initialize();
people.initialize(page_params.user_id, people_params);
settings_data.initialize(people.get_by_user_id(page_params.user_id).date_joined);
// These components must be initialized early, because other
// modules' initialization has not been audited for whether they