(permission)
| 35 | } |
| 36 | |
| 37 | export function getDisplayPermission (permission) { |
| 38 | const display = permission?.toLowerCase() |
| 39 | if (display !== 'read' && display !== 'write') return '' |
| 40 | return $.i18n.t(`teacher_dashboard.${display}`) |
| 41 | } |
| 42 | |
| 43 | function teacherModalSeenKey (teacherId) { |
| 44 | return `seen-teacher-details-modal_${teacherId}` |
nothing calls this directly
no outgoing calls
no test coverage detected