( visibleProperties: string[] | undefined, plugin: TaskNotesPlugin )
| 38 | } |
| 39 | |
| 40 | function getPropertiesToShow( |
| 41 | visibleProperties: string[] | undefined, |
| 42 | plugin: TaskNotesPlugin |
| 43 | ): string[] { |
| 44 | return ( |
| 45 | visibleProperties || |
| 46 | (plugin.settings.defaultVisibleProperties |
| 47 | ? convertInternalToUserProperties(plugin.settings.defaultVisibleProperties, plugin) |
| 48 | : getDefaultVisibleProperties(plugin)) |
| 49 | ); |
| 50 | } |
| 51 | |
| 52 | function createBlockedMetadataPill(config: RenderTaskCardMetadataConfig): HTMLElement | null { |
| 53 | const { metadataLine, card, task, plugin, onBlockedByToggle } = config; |
no test coverage detected