Notify headerbar when profile picture has changed to bust the cache
This commit is contained in:
@@ -176,6 +176,10 @@ BrandingModel.onChange(BrandingModel.KEYS.AVATAR, (value) => {
|
||||
document.getElementById('favicon').href = value;
|
||||
});
|
||||
|
||||
ProfileModel.onChange(ProfileModel.KEYS.AVATAR, (value) => {
|
||||
profile.value.avatarUrl = value;
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
let [error, result] = await provisionModel.status();
|
||||
if (error) return console.error(error);
|
||||
|
||||
Reference in New Issue
Block a user