Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/components/config/dashboard/cache"

Index

Variables

Const DashboardCacheCardContent

DashboardCacheCardContent: FC<{}> = observer(() => {const {optionStore: {others: { cachePlugins }}} = useStores();const cachePluginLabels = Object.values(cachePlugins).join(",");return (<><p className="description">{__("Real Cookie Banner can empty your page cache automatically as soon as a page cache is detected. This means that you do not have to manually clear your page cache if you make changes to the cookie banner via the customizer or if you ask for a new consent.")}</p>{cachePluginLabels ? (<Badgestatus="success"text={_i(__("We have detected {{strong}}%s{{/strong}} as your page cache.", cachePluginLabels), {strong: <strong />})}/>) : (<Badgestatus="default"text={_i(__("We did {{strong}}not detect{{/strong}} any page cache on your site."), {strong: <strong />})}/>)}</>);})

Generated using TypeDoc