diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 22:23:28 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-05-28 22:23:28 +0200 |
| commit | 83238bd1d7c55a87ae2169f9e97411774c41b270 (patch) | |
| tree | 90db9a86f7b2264840489ab139294c72ed8c200d /cockpit/js/student-common.js | |
| parent | ad23947bf1b763d1f33d9495c192c31e2144506a (diff) | |
| download | bycs-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.js | 4 |
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); } } |
