(p: VaultTask['priority'])
| 16 | } |
| 17 | |
| 18 | function priorityLabel(p: VaultTask['priority']): string { |
| 19 | if (p === 'high') return '!high' |
| 20 | if (p === 'med') return '!med' |
| 21 | if (p === 'low') return '!low' |
| 22 | return '' |
| 23 | } |
| 24 | |
| 25 | function priorityClass(p: VaultTask['priority']): string { |
| 26 | if (p === 'high') return 'text-rose-400' |