diff --git a/src/app/components/CostSection.jsx b/src/app/components/CostSection.jsx index a332fdc7..7c68c3cc 100644 --- a/src/app/components/CostSection.jsx +++ b/src/app/components/CostSection.jsx @@ -32,7 +32,7 @@ export default class CostSection extends TranslatedComponent { this._buildRetrofitShip = this._buildRetrofitShip.bind(this); this._onBaseRetrofitChange = this._onBaseRetrofitChange.bind(this); this._defaultRetrofitName = this._defaultRetrofitName.bind(this); - this._eddbShoppingList = this._eddbShoppingList.bind(this); + this._eddbShoppingList = this._inaraShoppingList.bind(this); let data = Ships[props.ship.id]; // Retrieve the basic ship properties, slots and defaults let retrofitName = this._defaultRetrofitName(props.ship.id, props.buildName); @@ -328,9 +328,9 @@ export default class CostSection extends TranslatedComponent { } /** - * Open up a window for EDDB with a shopping list of our retrofit components + * Open up a window for inara with a shopping list of our retrofit components */ - _eddbShoppingList() { + _inaraShoppingList() { const { retrofitCosts } = this.state; const { ship } = this.props; @@ -338,7 +338,7 @@ export default class CostSection extends TranslatedComponent { const modIds = retrofitCosts.filter(item => item.retroItem.incCost && item.buyId && !item.buyPp).map(item => item.buyId).filter((v, i, a) => a.indexOf(v) === i); // Open up the relevant URL - window.open('https://eddb.io/station?m=' + modIds.join(',')); + window.open('https://inara.cz/inapi/corisearch.php?m=' + modIds.join(',')); } /** @@ -387,7 +387,7 @@ export default class CostSection extends TranslatedComponent {
{rows}