From 35440b7273a275750db4d75b01dc3498f9252c13 Mon Sep 17 00:00:00 2001 From: willyb321 Date: Wed, 18 Apr 2018 10:33:11 +1000 Subject: [PATCH 1/2] allow specials in internal and standard slots --- src/app/components/InternalSlot.jsx | 3 +++ src/app/components/StandardSlot.jsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/app/components/InternalSlot.jsx b/src/app/components/InternalSlot.jsx index 90c96279..6a7a5d26 100644 --- a/src/app/components/InternalSlot.jsx +++ b/src/app/components/InternalSlot.jsx @@ -33,6 +33,9 @@ export default class InternalSlot extends Slot { let modTT = translate('modified'); if (m && m.blueprint && m.blueprint.name) { modTT = translate(m.blueprint.name) + ' ' + translate('grade') + ' ' + m.blueprint.grade; + if (m.blueprint.special && m.blueprint.special.id >= 0) { + modTT += ', ' + translate(m.blueprint.special.name); + } modTT = (
{modTT}
diff --git a/src/app/components/StandardSlot.jsx b/src/app/components/StandardSlot.jsx index 91a1717d..4109fbc9 100644 --- a/src/app/components/StandardSlot.jsx +++ b/src/app/components/StandardSlot.jsx @@ -56,6 +56,9 @@ export default class StandardSlot extends TranslatedComponent { let modTT = translate('modified'); if (m && m.blueprint && m.blueprint.name) { modTT = translate(m.blueprint.name) + ' ' + translate('grade') + ' ' + m.blueprint.grade; + if (m.blueprint.special && m.blueprint.special.id >= 0) { + modTT += ', ' + translate(m.blueprint.special.name); + } modTT = (
{modTT}
From 0603c55089f179a021c54930621f1d412ae95184 Mon Sep 17 00:00:00 2001 From: willyb321 Date: Wed, 18 Apr 2018 18:04:28 +1000 Subject: [PATCH 2/2] bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9710deb8..5923f4d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coriolis_shipyard", - "version": "2.9.2", + "version": "2.9.3", "repository": { "type": "git", "url": "https://github.com/EDCD/coriolis"