Skip to content

Fix handleSave Function to Ensure LinktaFlow is Properly Saved to Database #427

@kinskiwu

Description

@kinskiwu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions