Skip to content

Commit

Permalink
Add indication on station page whether is a DLS of another station
Browse files Browse the repository at this point in the history
  • Loading branch information
otabek-memphis committed Dec 5, 2023
1 parent 49dcd60 commit 18d5770
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ui_src/src/domain/stationOverview/stationOverviewHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,18 @@ const StationOverviewHeader = () => {
<b>Partitions: </b>
{stationState?.stationMetaData?.partitions_number === 0 ? 1 : stationState?.stationMetaData?.partitions_number}
</p>
<div className="flex-details-wrapper">
<p style={{display: 'flex'}}>
<b style={{marginRight: '5px'}}>Dead-letter for: </b>
{
stationState?.stationSocketData?.act_as_dls_station_in_stations && stationState?.stationSocketData?.act_as_dls_station_in_stations.length ?
<OverflowTip text={stationState?.stationSocketData?.act_as_dls_station_in_stations.join(', ')} maxWidth={'70px'}>
{stationState?.stationSocketData?.act_as_dls_station_in_stations.join(', ')}
</OverflowTip>
: <MinusOutlined style={{ color: '#2E2C34' }} />
}
</p>
</div>
</div>
<div className="storage-section">
<p>
Expand Down

0 comments on commit 18d5770

Please sign in to comment.