MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / getBundleList

Function getBundleList

frontend/src/components/plugins/index.tsx:99–115  ·  view source on GitHub ↗
(params: object)

Source from the content-addressed store, hash-verified

97 setOpenDrawer(true)
98 }
99 const getBundleList = async (params: object) => {
100 const res: any = await bundleList(params)
101 const imagesData: any = {};
102 res.data.forEach((image: any) => {
103 fetch(image.icon_url)
104 .then(response => response.blob())
105 .then(blob => {
106 const reader = new FileReader();
107 reader.onload = function () {
108 imagesData[image.bundle_id] = reader.result;
109 setCachedImages(imagesData);
110 };
111 reader.readAsDataURL(blob);
112 });
113 });
114 setBundlesList(res.data)
115 }
116 const columns = [...bundleTableColumn]
117 columns.push({
118 title: `${t('projectColumnActions')}`,

Callers 1

PluginsFunction · 0.70

Calls 1

bundleListFunction · 0.90

Tested by

no test coverage detected