Don't show recipes for similarly name items
On item detail pages for items where multiple mods add an item of the same name, recipes for both items would incorrectly be displayed.
This commit is contained in:
@@ -21,6 +21,7 @@ fi
|
|||||||
if [[ "$TARGET" == "new" ]]; then
|
if [[ "$TARGET" == "new" ]]; then
|
||||||
find "$ROOT" -name ".DS_Store" | xargs rm
|
find "$ROOT" -name ".DS_Store" | xargs rm
|
||||||
grunt clean dist
|
grunt clean dist
|
||||||
|
echo "Preparing to upload to S3..."
|
||||||
s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
|
s3cmd sync -r --delete-removed --add-header="cache-control:max-age=1800" "$ROOT/" "s3://new.$SITE/"
|
||||||
grunt clean build
|
grunt clean build
|
||||||
elif [[ "$TARGET" == "promote" ]]; then
|
elif [[ "$TARGET" == "promote" ]]; then
|
||||||
|
|||||||
@@ -118,7 +118,6 @@ module.exports = class Recipe extends BaseModel
|
|||||||
for stack in @output
|
for stack in @output
|
||||||
actuallyProduces = not @isPassThroughFor stack.itemSlug
|
actuallyProduces = not @isPassThroughFor stack.itemSlug
|
||||||
@_produces[stack.itemSlug.qualified] = actuallyProduces
|
@_produces[stack.itemSlug.qualified] = actuallyProduces
|
||||||
@_produces[stack.itemSlug.item] = actuallyProduces
|
|
||||||
|
|
||||||
return @_produces[itemSlug.qualified] or @_produces[itemSlug.item]
|
return @_produces[itemSlug.qualified] or @_produces[itemSlug.item]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user