Merge branch 'fixNotShowDisable' of Mehhehhe/recipe-website into main

This commit is contained in:
Mehhehhe 2024-02-08 09:50:26 +07:00 committed by Pakin
commit f38f894dce

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))
}
}