fix(nodeToolbarComponent): fix saveFlowStore function call to include selectedTags and sharePublic parameters

This commit is contained in:
anovazzi1 2023-10-27 08:55:18 -03:00
commit 6b4c964d20

View file

@ -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",