Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/components/config/scanner/list"

Index

Variables

Variables

Const ScannerList

ScannerList: FC<{}> = observer(() => {const { scannerStore } = useStores();const { currentJob } = useScannerProgress();const { presetsCount, externalUrlsCount, busyExternalUrls, sortedExternalUrls, canShowResults } = scannerStore;useEffect(() => {scannerStore.fetchResultPresets();scannerStore.fetchResultExternals();}, []);return (<><ScannerProgress />{canShowResults && presetsCount > 0 && <ScannerPresetSelector />}{canShowResults &&externalUrlsCount > 0 &&(busyExternalUrls && currentJob === undefined ? (<ScannerLoadingSkeleton count={externalUrlsCount} />) : (<div><Divider>{__("Embeds of external URLs to be checked")}</Divider><div style={{ maxWidth: 800, margin: "0px auto 20px", textAlign: "center" }}><p className="description">{__("You are embedding scripts, styles, iframes or similar from the following third-party servers. We currently do not have service templates for these. Therefore, you may have to create a service and/or content blocker yourself after you have assessed the situation.")}</p></div><List>{sortedExternalUrls.map((item) => (<ScannerListItem item={item} key={item.data.host} />))}</List></div>))}</>);})

Generated using TypeDoc