( visibleProperties: string[] | undefined, plugin: TaskNotesPlugin )
| 38 | } |
| 39 | |
| 40 | export function shouldShowPriorityIndicator( |
| 41 | visibleProperties: string[] | undefined, |
| 42 | plugin: TaskNotesPlugin |
| 43 | ): boolean { |
| 44 | return ( |
| 45 | !visibleProperties || |
| 46 | visibleProperties.some((prop) => isPropertyForField(prop, "priority", plugin)) |
| 47 | ); |
| 48 | } |
| 49 | |
| 50 | export function applyTaskCardStatusColors( |
| 51 | card: HTMLElement, |
no test coverage detected