diff --git a/assets/js/dashboard/stats/graph/with-imported-switch.js b/assets/js/dashboard/stats/graph/with-imported-switch.js index 8f99eb2bf..9e9264643 100644 --- a/assets/js/dashboard/stats/graph/with-imported-switch.js +++ b/assets/js/dashboard/stats/graph/with-imported-switch.js @@ -4,24 +4,30 @@ import * as url from '../../util/url' import { BarsArrowUpIcon } from '@heroicons/react/20/solid' import classNames from "classnames" +function LinkOrDiv({isLink, target, children}) { + if (isLink) { + return { children } + } else { + return