UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

17 lines (16 loc) 946 B
/** * CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52 * Update:: import { IMinWPBannerProps } to '@mikezimm/fps-core-v7/lib/banner/interfaces/MinWP/IMinWPBannerProps;' */ import { createPerformanceTableVisitor } from "../../../components/indexes/Performance"; import { visitorPanelInfo } from "./VisitorPanelComponent"; import { check4This, Check4 } from "@mikezimm/fps-core-v7/lib/logic/Links/CheckSearch"; export function refreshPanel(bannerProps, repoLink, performance, keysToShow) { if (performance) { if (check4This(Check4.tracePerformance_Eq_true) === true) console.log(`tracePerformance refreshPanel ~ 12`, JSON.parse(JSON.stringify(performance))); bannerProps.replacePanelHTML = visitorPanelInfo(bannerProps, repoLink, '', '', createPerformanceTableVisitor(performance, keysToShow), 'refreshPanel'); } return bannerProps; } //# sourceMappingURL=refreshPanel.js.map