Description
The handleSave function in the StaticLayout component is not correctly saving the LinktaFlow data to the database
Expected Behavior: When a user clicks "Save," the currentLinktaFlow should be fetched and the updated nodes and edges should be successfully saved to the database via the updateLinktaFlow mutation.
Acceptance Criteria
- Ensure currentLinktaFlow is properly fetched before attempting to save
- Update the logic to ensure handleSave properly triggers the mutation with valid nodes and edges
Subtasks
Description
The handleSave function in the StaticLayout component is not correctly saving the LinktaFlow data to the database
Expected Behavior: When a user clicks "Save," the currentLinktaFlow should be fetched and the updated nodes and edges should be successfully saved to the database via the updateLinktaFlow mutation.
Acceptance Criteria
Subtasks