From 22b61631eb29a83983dee7f6135d07bd7a054eb3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 10 Jan 2025 10:49:21 +0100 Subject: [PATCH] perf(ui): Load avatar URLs with low priority Signed-off-by: Christoph Wurst --- src/service/AvatarService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/AvatarService.js b/src/service/AvatarService.js index 41f14db09d..5045110607 100644 --- a/src/service/AvatarService.js +++ b/src/service/AvatarService.js @@ -16,7 +16,7 @@ export const fetchAvatarUrl = (email) => { email, }) - return Axios.get(url) + return Axios.get(url, { adapter: 'fetch', fetchOptions: { priority: 'low' } }) .then((resp) => resp.data) .then((avatar) => { if (avatar.isExternal) {