MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / getCardById

Function getCardById

frontend/src/stores/useLayoutConfig.ts:57–61  ·  view source on GitHub ↗
(pageName: string, id: string)

Source from the content-addressed store, hash-verified

55 };
56
57 const getCardById = (pageName: string, id: string) => {
58 if (!pageName) pageName = currentRoutePath.value;
59 const items = getPageLayoutConfig(pageName);
60 return items.find((item) => item.id === id);
61 };
62
63 const saveGlobalLayoutConfig = async () => {
64 return await setLayoutConfig().execute({

Callers 5

addCardHeightFunction · 0.85
reduceCardHeightFunction · 0.85
addCardWidthFunction · 0.85
reduceCardWidthFunction · 0.85
editCardNameFunction · 0.85

Calls 1

getPageLayoutConfigFunction · 0.85

Tested by

no test coverage detected