aboutsummaryrefslogtreecommitdiff
path: root/cockpit/js/student-common.js
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-28 22:23:28 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-05-28 22:23:28 +0200
commit83238bd1d7c55a87ae2169f9e97411774c41b270 (patch)
tree90db9a86f7b2264840489ab139294c72ed8c200d /cockpit/js/student-common.js
parentad23947bf1b763d1f33d9495c192c31e2144506a (diff)
downloadbycs-sol-83238bd1d7c55a87ae2169f9e97411774c41b270.tar.gz
bycs-sol-83238bd1d7c55a87ae2169f9e97411774c41b270.zip
cockpit: use the user icon if it is available and fix URL discovery
Diffstat (limited to 'cockpit/js/student-common.js')
-rw-r--r--cockpit/js/student-common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cockpit/js/student-common.js b/cockpit/js/student-common.js
index 74cc845..3938380 100644
--- a/cockpit/js/student-common.js
+++ b/cockpit/js/student-common.js
@@ -9,8 +9,8 @@ class Student {
this.group = group;
}
- getIconUrl() {
- return getUserIconUrl(this.id);
+ async getIconUrl() {
+ return await getUserIconUrl(this.id);
}
}