MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / priorityLabel

Function priorityLabel

packages/app-core/src/components/TasksRow.tsx:18–23  ·  view source on GitHub ↗
(p: VaultTask['priority'])

Source from the content-addressed store, hash-verified

16}
17
18function 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
25function priorityClass(p: VaultTask['priority']): string {
26 if (p === 'high') return 'text-rose-400'

Callers 1

TasksRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected