Skip to content

Commit

Permalink
Desk label duplication fix (#4331)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecalcc authored Sep 25, 2023
1 parent b03c69c commit 911806b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/apps/monitoring/views/monitoring-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ <h2 class="subnav__page-title sd-flex-no-grow sd-empty" ng-hide="monitoring.sing
</h2>

<div class="subnav__stage-group" ng-if="monitoring.singleGroup.singleViewType === 'stage' || monitoring.singleGroup && !monitoring.singleGroup.subheader" ng-class="{'subnav__stage-group--ui-responsive': aggregate.monitoringSearch}">
<span class="stage-group__desk">{{ monitoring.singleGroup.header }}</span>
<span class="stage-group__split">/</span>
<!-- There was label duplication in the case when you select a stage so I removed the elements responsible for showing the label of the desk
only in the case when you select a stage, because I'm not sure if there's other cases where we need this information to be shown.
-->
<span ng-if="monitoring.singleGroup.type == null" class="stage-group__desk">{{ monitoring.singleGroup.header }}</span>
<span ng-if="monitoring.singleGroup.type == null" class="stage-group__split">/</span>
<div class="dropdown" dropdown>
<button class="dropdown__toggle navbtn navbtn--text-only navbtn--padding-s" dropdown-toggle>{{monitoring.getGroupLabel(monitoring.singleGroup, monitoring.singleGroup.type)}}<span class="dropdown__caret"></span></button>
<ul class="dropdown__menu scrollable">
Expand Down

0 comments on commit 911806b

Please sign in to comment.