update add flow function to show import flow name
This commit is contained in:
parent
a923cdeccb
commit
d28d73a37e
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
|||
// Create a new flow with a default name if no flow is provided.
|
||||
let newFlow: FlowType = {
|
||||
description,
|
||||
name: "New Flow",
|
||||
name: flow?.name??"New Flow",
|
||||
id: id.toString(),
|
||||
data,
|
||||
chat: flow ? flow.chat : [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue