Commit bb8d3604 by heheer Committed by GitHub

fix cite visibility (#6153)

parent 4fbe27f2
......@@ -58,7 +58,7 @@ const ResponseTags = ({
} = useMemo(() => {
return {
...addStatisticalDataToHistoryItem(historyItem),
...(isShowCite
...(!isShowCite
? {
totalQuoteList: []
}
......
......@@ -32,6 +32,7 @@ const PlaygroundVisibilityConfig = ({ appId }: { appId: string }) => {
const showCite = watch('showCite');
const showFullText = watch('showFullText');
const canDownloadSource = watch('canDownloadSource');
const showRunningStatus = watch('showRunningStatus');
const playgroundLink = useMemo(() => {
if (typeof window !== 'undefined') {
......@@ -114,6 +115,7 @@ const PlaygroundVisibilityConfig = ({ appId }: { appId: string }) => {
{...register('showRunningStatus', {
onChange: autoSave
})}
isChecked={showRunningStatus}
/>
</Flex>
<Flex>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment