Skip to content

Duplicate id in store #6

@simonschaufi

Description

@simonschaufi

Hi @drehimself
I found an issue with the ids in the store as I have 5 records in the database starting from id 1. Now If I add several more items, the next items will have a manually generated id which will result in the following error:

[Vue warn]: Duplicate keys detected: '4'. This may cause an update error.

The reason for this is that you start with a hard coded id here:


How can this be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions