* Render group title using shared utility. * Uses this.app from BasesView (with fallback to plugin.app for safety).
(container: HTMLElement, title: string)
| 2099 | * Uses this.app from BasesView (with fallback to plugin.app for safety). |
| 2100 | */ |
| 2101 | private renderGroupTitle(container: HTMLElement, title: string): void { |
| 2102 | // Use this.app if available (set by Bases), otherwise fall back to plugin.app |
| 2103 | const app = this.app || this.plugin.app; |
| 2104 | |
| 2105 | const linkServices: LinkServices = { |
| 2106 | metadataCache: app.metadataCache, |
| 2107 | workspace: app.workspace, |
| 2108 | }; |
| 2109 | |
| 2110 | renderGroupTitle(container, title, linkServices); |
| 2111 | } |
| 2112 | |
| 2113 | /** |
| 2114 | * Component lifecycle: Called when component is unloaded. |
no test coverage detected