fix not display disable material

This commit is contained in:
pakintada@gmail.com 2024-02-08 09:48:48 +07:00
parent 14523da696
commit 08ffec8e24

View file

@ -78,7 +78,7 @@ func (rs *recipeService) GetRecipeDetailMat(request *contracts.RecipeDetailReque
matIds := []uint64{}
for _, v := range recipe.Recipes {
if v.IsUse {
if v.MaterialPathId != 0 {
matIds = append(matIds, uint64(v.MaterialPathId))
}
}