mirror of
https://github.com/labring/FastGPT.git
synced 2026-01-14 06:03:34 +08:00
fix cite visibility (#6153)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user