MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / renderProjectLinksWithoutPrefix

Function renderProjectLinksWithoutPrefix

src/modals/taskModalSubtasks.ts:128–140  ·  view source on GitHub ↗
(
	container: HTMLElement,
	links: string[],
	linkServices: LinkServices
)

Source from the content-addressed store, hash-verified

126}
127
128function renderProjectLinksWithoutPrefix(
129 container: HTMLElement,
130 links: string[],
131 linkServices: LinkServices
132): void {
133 renderProjectLinks(container, links, linkServices);
134
135 Array.from(container.childNodes).forEach((node) => {
136 if (node.nodeType === Node.TEXT_NODE && node.textContent?.trim() === "+") {
137 node.remove();
138 }
139 });
140}

Callers 1

renderSubtaskFallbackFunction · 0.70

Calls 1

renderProjectLinksFunction · 0.90

Tested by

no test coverage detected