Skip to content

Commit f3d0900

Browse files
collins-selfcollins-self
authored andcommitted
Added LocationDrawing button to AssetConnection page
1 parent a946241 commit f3d0900

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Source/Applications/SystemCenter/wwwroot/Scripts/TSX/SystemCenter/Asset/AssetConnection.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { OpenXDA } from '@gpa-gemstone/application-typings';
3131
import { useAppSelector, useAppDispatch } from '../hooks';
3232
import { AssetConnectionTypeSlice } from '../Store/Store';
3333
import { SelectRoles } from '../Store/UserSettings';
34+
import LocationDrawings from '../Meter/PropertyUI/LocationDrawings'
3435

3536
interface AssetConnection {
3637
AssetRelationShipTypeID: number,
@@ -227,9 +228,12 @@ function AssetConnectionWindow(props: { Name: string, ID: number, TypeID: number
227228
<div className="card" style={{ flex: 1, display: 'flex', flexDirection: 'column', overflow: 'hidden' }}>
228229
<div className="card-header">
229230
<div className="row">
230-
<div className="col">
231+
<div className="col-lg-3 col">
231232
<h4>Connections:</h4>
232233
</div>
234+
<div className="col-2">
235+
<LocationDrawings LocationID={props.ID} />
236+
</div>
233237
</div>
234238
</div>
235239
<div className="card-body" style={{ flex: 1, overflow: 'hidden' }}>

0 commit comments

Comments
 (0)