mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
add link to orbis data
This commit is contained in:
@@ -510,14 +510,15 @@ export default class OutfittingPage extends Page {
|
||||
*/
|
||||
_genOrbis() {
|
||||
const data = {};
|
||||
const ship = _.cloneDeep(this.state.ship);
|
||||
console.log(this.state);
|
||||
const ship = this.state.ship;
|
||||
ship.coriolisId = ship.id;
|
||||
data.coriolisShip = ship;
|
||||
data.coriolisShip.url = window.location.href;
|
||||
data.title = this.state.buildName || ship.id;
|
||||
data.description = this.state.buildName || ship.id;
|
||||
data.ShipName = ship.id;
|
||||
data.Ship = ship.id;
|
||||
console.log(data);
|
||||
this.context.showModal(<ModalOrbis ship={data}/>);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user