Skip to content

Commit ac83c56

Browse files
authored
Merge pull request #10732 from nextcloud/backport/10554/stable4.1
[stable4.1] perf(ui): Load avatar URLs with low priority
2 parents 12bafc1 + 22b6163 commit ac83c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/AvatarService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const fetchAvatarUrl = (email) => {
1616
email,
1717
})
1818

19-
return Axios.get(url)
19+
return Axios.get(url, { adapter: 'fetch', fetchOptions: { priority: 'low' } })
2020
.then((resp) => resp.data)
2121
.then((avatar) => {
2222
if (avatar.isExternal) {

0 commit comments

Comments
 (0)