mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-30 08:43:17 +00:00
fix cite visibility (#6153)
This commit is contained in:
parent
4fbe27f2df
commit
bb8d3604d0
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue