Move eddb.io links to inara.cz

This commit is contained in:
Felix Linker
2023-04-07 19:25:16 +01:00
parent 6d8bd6ca44
commit 9766f78e21
2 changed files with 9 additions and 9 deletions

View File

@@ -677,9 +677,9 @@ export default class OutfittingPage extends Page {
}
/**
* Open up a window for EDDB with a shopping list of our components
* Open up a window for inara with a shopping list of our components
*/
_eddbShoppingList() {
_inaraShoppingList() {
const ship = this.state.ship;
const shipId = Ships[ship.id].eddbID;
@@ -692,7 +692,7 @@ export default class OutfittingPage extends Page {
// Open up the relevant URL
window.open(
'https://eddb.io/station?s=' + shipId + '&m=' + modIds.join(',')
'https://inara.cz/inapi/corisearch.php?s=' + shipId + '&m=' + modIds.join(',')
);
}
@@ -912,7 +912,7 @@ export default class OutfittingPage extends Page {
<Download className="lg" />
</button>
<button
onClick={this._eddbShoppingList}
onClick={this._inaraShoppingList}
onMouseOver={termtip.bind(null, 'PHRASE_SHOPPING_LIST')}
onMouseOut={hide}
>