From 9a41153868ffa78fa278254eee347f9921e164e7 Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Sun, 20 Oct 2024 10:01:19 +0100 Subject: [PATCH] Type 8 added to Shipyard with Announcement (#33) --- src/app/Coriolis.jsx | 2 +- src/app/utils/CompanionApiUtils.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/Coriolis.jsx b/src/app/Coriolis.jsx index 2e46fb6e..0262c54c 100644 --- a/src/app/Coriolis.jsx +++ b/src/app/Coriolis.jsx @@ -68,7 +68,7 @@ export default class Coriolis extends React.Component { this.state = { noTouch: !('ontouchstart' in window || navigator.msMaxTouchPoints || navigator.maxTouchPoints), page: null, - announcements: [], + announcements: [{expiry: "31-08-2024", text: "25/08/2024: Type 8 Transporter added to the shipyard"}], language: getLanguage(Persist.getLangCode()), route: {}, sizeRatio: Persist.getSizeRatio() diff --git a/src/app/utils/CompanionApiUtils.js b/src/app/utils/CompanionApiUtils.js index c972b1ba..56df0b07 100644 --- a/src/app/utils/CompanionApiUtils.js +++ b/src/app/utils/CompanionApiUtils.js @@ -38,6 +38,7 @@ export const SHIP_FD_NAME_TO_CORIOLIS_NAME = { 'SideWinder': 'sidewinder', 'Type6': 'type_6_transporter', 'Type7': 'type_7_transport', + 'Type8': 'type_8_transport', 'Type9': 'type_9_heavy', 'Type9_Military': 'type_10_defender', 'TypeX': 'alliance_chieftain',