-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item Delete Button deletes multiple items #705
Comments
Will take a look |
I actually changed that in my code so it's included in my pull request regarding rooms/color. |
Thanks! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If i use the the item delete button on the editdevice screen it deletes multiple items instead of the one i pressed delete on if there are multiple items with the same item and type in the items list.
This happens even if they are not consecutive in the list.
Is this intentional?
Maybe in the removeItemxxx methods in app.js it should better be:
$scope.onDevices[i] === anItem
instead of
$scope.onDevices[i].item === anItem.item && $scope.onDevices[i].type === anItem.type
in the loop over xxDevices to determine which one to delete?
The text was updated successfully, but these errors were encountered: