mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
units,lesson as standalone
This commit is contained in:
@@ -29,6 +29,12 @@ const ENRICHERS = {
|
||||
deadline: fmtDate(data.deadline),
|
||||
}),
|
||||
|
||||
task_submission_reviewed: (data) => ({
|
||||
...data,
|
||||
statusLabel: data.status === 'approved' ? 'approved' : 'rejected',
|
||||
reviewNoteSuffix: data.review_note ? ` Note: ${data.review_note}` : '',
|
||||
}),
|
||||
|
||||
welcome: (data) => {
|
||||
const greeting = data.accType === 'admin'
|
||||
? 'Welcome, Administrator!'
|
||||
|
||||
Reference in New Issue
Block a user