Commit b6fc0b7
authored
Distinguish owners in class members list (#522)
## Status
closes
RaspberryPiFoundation/digital-editor-issues#485
## What's changed?
- Class teachers that are also a school owner are not returned in the
format `owner: {class_member}` rather than `teacher: {class_member}`
when listing class members. This allows the owner icon to be displayed
next to them on the frontend.1 parent 02be4f3 commit b6fc0b7
File tree
2 files changed
+6
-0
lines changed- app
- controllers/api
- views/api/class_members
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments