fix: remove snake to normal case from export flow
This commit is contained in:
parent
0bc96208e4
commit
2c836c1950
1 changed files with 204 additions and 204 deletions
|
|
@ -99,7 +99,7 @@ export function TabsProvider({ children }: { children: ReactNode }) {
|
||||||
// create a link element and set its properties
|
// create a link element and set its properties
|
||||||
const link = document.createElement("a");
|
const link = document.createElement("a");
|
||||||
link.href = jsonString;
|
link.href = jsonString;
|
||||||
link.download = `${normalCaseToSnakeCase(flows[tabIndex].name)}.json`;
|
link.download = `${flows[tabIndex].name}.json`;
|
||||||
|
|
||||||
// simulate a click on the link element to trigger the download
|
// simulate a click on the link element to trigger the download
|
||||||
link.click();
|
link.click();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue