Skip to content

only pass appropriate actions to cards, depending on mode #18

Open
@bantic

Description

@bantic

component cards currently get the full set of component actions (editCard, saveCard, etc), but some of the actions are meaningless depending on the card's current mode. If the card is in edit mode, the editCard action is meaningless, for example.

An improvement would be to only pass the appropriate actions and/or give a meaningful error message if the action does not make sense (calling editCard when card is in edit mode, e.g.).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions