Describe the bug
In admin UI, while adding a primary ingredient to a substitute ingredient, the same ingredient should not appear in the list. For example, milk cannot be a primary ingredient for the ingredient milk.
To Reproduce
Steps to reproduce the behaviour:
Go to 'admin UI'
Click on 'Meals' -> Ingredients
Click on Edit of any ingredient Eg: Milk
In the primary ingredient field which is meant to say which primary ingredient this ingredient is substitute of has also the same ingredient 'Milk' in the list.
Expected behaviour
The same ingredient should not appear in the primary ingredient field.
Describe the bug In admin UI, while adding a primary ingredient to a substitute ingredient, the same ingredient should not appear in the list. For example, milk cannot be a primary ingredient for the ingredient milk.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour The same ingredient should not appear in the primary ingredient field.