MCPcopy
hub / github.com/github/awesome-copilot / renderItems

Function renderItems

website/src/scripts/pages/plugins.ts:98–103  ·  view source on GitHub ↗
(items: Plugin[])

Source from the content-addressed store, hash-verified

96}
97
98function renderItems(items: Plugin[]): void {
99 const list = document.getElementById('resource-list');
100 if (!list) return;
101
102 list.innerHTML = renderPluginsHtml(items);
103}
104
105function getPluginRepositoryUrl(item: Plugin): string {
106 if (item.external && item.repository) return item.repository;

Callers 1

applyFiltersAndRenderFunction · 0.70

Calls 1

renderPluginsHtmlFunction · 0.90

Tested by

no test coverage detected