(index: number)
| 207 | } |
| 208 | |
| 209 | isDrinkOptionDisabled(index: number) { |
| 210 | if (this.drinksOptionsDisabled === 'all') { |
| 211 | return true; |
| 212 | } |
| 213 | if (this.drinksOptionsDisabled === 'first-middle-last') { |
| 214 | return ( |
| 215 | index === 0 || |
| 216 | index === this.drinks.length - 1 || |
| 217 | index === Math.floor(this.drinks.length / 2) |
| 218 | ); |
| 219 | } |
| 220 | return false; |
| 221 | } |
| 222 | } |
nothing calls this directly
no outgoing calls
no test coverage detected