fix(nodeToolbarComponent): fix saveFlowStore function call to include selectedTags and sharePublic parameters
This commit is contained in:
parent
b97c25d3c7
commit
6b4c964d20
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,11 @@ export default function NodeToolbarComponent({
|
|||
function handleShareComponent() {
|
||||
const componentFlow = cloneDeep(data);
|
||||
saveComponent(componentFlow).then(() => {
|
||||
saveFlowStore(createFlowComponent(componentFlow), []).then(
|
||||
saveFlowStore(
|
||||
createFlowComponent(componentFlow),
|
||||
Array.from(selectedTags),
|
||||
sharePublic
|
||||
).then(
|
||||
(_) => {
|
||||
setSuccessData({
|
||||
title: "Component shared successfully",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue