I have a little problem at my Magento 2.2.5 store. When a combination of a configurable product is not on stock, the swatch should be disabled with a red strike. But at my store no swatch is disabled, as you can see at the following screenshot:
![9DTq7.png 9DTq7.png](https://community.magento.com/t5/image/serverpage/image-id/11009iB4D4E8AD254B2790/image-size/large?v=v2&px=999)
Actually, the Large size and green color isn't on stock. So it should be:
![d1c54.png d1c54.png](https://community.magento.com/t5/image/serverpage/image-id/11010i0E42D1B0D2690DD3/image-size/large?v=v2&px=999)
Does somebody know what to do? If i want to select this combination and put it in my cart, i get the error "not on stock"