Fix `0` as itemKey issue
bennoinbeta opened this issue Β· comments
π Bug report
π€ Current Behavior
If you have a Collection and have an Item with the itemKey 0
..
it will have problems with this itemKey because we often do
if(!itemKey)
// ..
instead of
if(itemKey == null)
// ..
π― Expected behavior
Shouldn't be a problem having an itemKey called 0
π» Your environment
Software | Version(s) |
---|---|
@agile-ts/core | 0.0.15 |
should be fixed now