Closed mturjak closed 8 years ago
Ok ... now the ng-if
contains:
(post.available && post.available !== 0 || post.number < 1)
Actual condition needs to be like this:
((post.available && post.available !== 0) || (post.type === 'offer' && post.number < 1) || post.type === 'moment')
Something went wrong with showing available offers ... if number limited shows OK (when
post.available > 0
), but need to add offers with setpost.number < 1
(unlimited) to the condition