Skip to content

Commit

Permalink
Upgrade to Skyportal 161d3532ba3ba059446addcdac58ca96f39e9636 (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton authored Sep 1, 2023
1 parent 2b187c5 commit dcbef1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion extensions/skyportal/static/js/components/SourceDesktop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ const SourceDesktop = ({ source }) => {
<div className={classes.sourceInfo}>
<b>
Host galaxy: {source.host.name} Offset:{" "}
{source.host_offset.toFixed(3)} [arcsec]
{source.host_offset.toFixed(3)} [arcsec] Distance:{" "}
{source.host_distance.toFixed(1)} [kpc]
</b>
&nbsp;
<Button
Expand Down Expand Up @@ -1074,6 +1075,7 @@ SourceDesktop.propTypes = {
btc: PropTypes.number,
}),
host_offset: PropTypes.number,
host_distance: PropTypes.number,
galaxies: PropTypes.arrayOf(
PropTypes.shape({
catalog_name: PropTypes.string,
Expand Down

0 comments on commit dcbef1d

Please sign in to comment.