Bump version

This commit is contained in:
Cmdr McDonald
2017-04-15 20:46:40 +01:00
parent c0a732a76b
commit 9c6f5fb44e
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,8 @@
#2.3.3
* Remove unused blueprint when hitting reset
* Add 'purchase module' external link to EDDB for refit items
* Use coriolis-data 2.3.3:
* Add Felicity Farseer to list of engineers that supply sensor and detailed surface scanner modifications
#2.3.2
* Use scan range for DSS rather than scan time

View File

@@ -1,6 +1,6 @@
{
"name": "coriolis_shipyard",
"version": "2.3.2",
"version": "2.3.3",
"repository": {
"type": "git",
"url": "https://github.com/EDCD/coriolis"

View File

@@ -334,10 +334,8 @@ export default class CostSection extends TranslatedComponent {
const { retrofitCosts } = this.state;
const { ship } = this.props;
console.log(`retrofitCosts is ${JSON.stringify(retrofitCosts, null, 2)}`);
// Provide unique list of non-PP module EDDB IDs to buy
const modIds = retrofitCosts.filter(item => item.retroItem.incCost && item.buyId && !item.buyPp).map(item => item.buyId).filter((v, i, a) => a.indexOf(v) === i);
console.log(`modIds is ${JSON.stringify(modIds)}`);
// Open up the relevant URL
window.open('https://eddb.io/station?m=' + modIds.join(','));

View File

@@ -450,7 +450,7 @@ export default class Ship {
/**
* Set special for a module
* @param {Object} m The module for which to set the blueprint
* @param {Object} bp The blueprint
* @param {Object} special The special
*/
setModuleSpecial(m, special) {
if (m.blueprint) {