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

Function renderProjectLinksWithoutPrefix

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

Source from the content-addressed store, hash-verified

186}
187
188function renderProjectLinksWithoutPrefix(
189 container: HTMLElement,
190 links: string[],
191 linkServices: LinkServices
192): void {
193 renderProjectLinks(container, links, linkServices);
194
195 Array.from(container.childNodes).forEach((node) => {
196 if (node.nodeType === Node.TEXT_NODE && node.textContent?.trim() === "+") {
197 node.remove();
198 }
199 });
200}
201
202function createTaskModalProjectItemFromWikiLink(
203 projectString: string,

Callers 1

Calls 1

renderProjectLinksFunction · 0.90

Tested by

no test coverage detected