Closed alexanderhale closed 5 years ago
Still an existing bug where tubs might have duplicate IDs
Only has duplicate IDs when the initial data in $scope.flavours is used. Once a JSON file is uploaded, the issue is not applicable. Will not be an issue once proper file storage is implemented.
When loading in the JSON file, find the maximum ID value and start nextID at that + 1