fix: disable images on playground (#7881)
* Changed id of sent file on playground page * Deactivate enable_image_on_playground feature flags
This commit is contained in:
parent
940b1100ca
commit
ef8ff1ed9b
2 changed files with 2 additions and 3 deletions
|
|
@ -12,6 +12,6 @@ export const ENABLE_FILE_MANAGEMENT = true;
|
|||
export const ENABLE_PUBLISH = true;
|
||||
export const ENABLE_WIDGET = true;
|
||||
export const ENABLE_VOICE_ASSISTANT = true;
|
||||
export const ENABLE_IMAGE_ON_PLAYGROUND = true;
|
||||
export const ENABLE_IMAGE_ON_PLAYGROUND = false;
|
||||
export const ENABLE_MCP = true;
|
||||
export const ENABLE_MCP_NOTICE = true;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ export default function ChatView({
|
|||
playgroundPage,
|
||||
sidebarOpen,
|
||||
}: chatViewProps): JSX.Element {
|
||||
const flowPool = useFlowStore((state) => state.flowPool);
|
||||
const inputs = useFlowStore((state) => state.inputs);
|
||||
const clientId = useUtilityStore((state) => state.clientId);
|
||||
let realFlowId = useFlowsManagerStore((state) => state.currentFlowId);
|
||||
|
|
@ -145,7 +144,7 @@ export default function ChatView({
|
|||
});
|
||||
}
|
||||
|
||||
const { files, setFiles, handleFiles } = useFileHandler(currentFlowId);
|
||||
const { files, setFiles, handleFiles } = useFileHandler(realFlowId);
|
||||
const [isDragging, setIsDragging] = useState(false);
|
||||
|
||||
const { dragOver, dragEnter, dragLeave } = useDragAndDrop(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue