Skip to content

Commit

Permalink
Merge pull request #548 from GridProtectionAlliance/SC-225-Link-From-…
Browse files Browse the repository at this point in the history
…MeterAsset

SC-225 Assets Links
  • Loading branch information
clackner-gpa authored Jan 7, 2025
2 parents d630cb4 + 4d54df6 commit 6850580
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ const MeterAssetWindow = (props: IProps) => {
Field={'AssetKey'}
HeaderStyle={{ width: 'auto' }}
RowStyle={{ width: 'auto' }}
Content={({ item, field }) =>
<a href={`${homePath}index.cshtml?name=Asset&AssetID=${item.ID}`} target='_blank'>
{item[field]}
</a>}
> Key
</ReactTable.Column>
<ReactTable.Column<OpenXDA.Types.MeterAsset>
Expand Down

0 comments on commit 6850580

Please sign in to comment.