mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +00:00
Bump version
This commit is contained in:
@@ -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(','));
|
||||
|
||||
@@ -449,8 +449,8 @@ 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} m The module for which to set the blueprint
|
||||
* @param {Object} special The special
|
||||
*/
|
||||
setModuleSpecial(m, special) {
|
||||
if (m.blueprint) {
|
||||
|
||||
Reference in New Issue
Block a user