feat: support query date tool (#662)

This commit is contained in:
Joel
2023-07-27 22:27:05 +08:00
committed by GitHub
parent 2adaceab82
commit d44d4bd6fd
4 changed files with 6 additions and 1 deletions

View File

@@ -43,7 +43,8 @@ const Summary: FC<ISummaryProps> = ({
plugins,
dataSets,
}) => {
const pluginIds = Object.keys(plugins).filter(key => plugins[key])
// current_datetime is not configable and do not have icon
const pluginIds = Object.keys(plugins).filter(key => plugins[key] && key !== 'current_datetime')
const [isShowConfig, { setFalse: hideConfig, toggle: toggleShowConfig }] = useBoolean(false)
const configContentRef = React.useRef(null)