Skip to content

Commit

Permalink
Fix [Alerts history] Trigger criteria time period is "Null", expected…
Browse files Browse the repository at this point in the history
… N/A (#2979)
  • Loading branch information
ilan7empest authored Dec 28, 2024
1 parent 0c27b82 commit 6353a76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
6 changes: 4 additions & 2 deletions src/common/Pagination/pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
justify-content: space-between;
align-items: center;
padding: 10px 4px 4px;
z-index: 1;

.pagination-items-count, .pagination-items-selector {
width: 140px
.pagination-items-count,
.pagination-items-selector {
width: 140px;
}

.pagination-items-selector {
Expand Down
6 changes: 3 additions & 3 deletions src/components/DetailsInfo/detailsInfo.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ export const generateTriggerInfoContent = criteria => {
{
label: 'Trigger criteria count',
id: 'triggerCriteriaCount',
value: criteria?.count
value: criteria?.count || 'N/A'
},
{
label: 'Trigger criteria time period',
id: 'triggerCriteriaTimePeriod',
value: criteria?.period
value: criteria?.period || 'N/A'
}
]
}
Expand Down Expand Up @@ -248,7 +248,7 @@ export const generateAlertsDetailsInfo = selectedItem => {
AlertsDetailsInfo.triggerCriteriaDetailsInfo = triggerCriteriaContent.map(trigger => {
return (
<li className="details-item" key={trigger.id}>
<div className="alert-row__details-alert-header">{trigger.label}:</div>
<div className="details-item__header">{trigger.label}:</div>
<DetailsInfoItem info={trigger.value} />
</li>
)
Expand Down
9 changes: 0 additions & 9 deletions src/elements/AlertsTableRow/AlertsTableRow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,6 @@
}
}

&__details-alert-header {
display: flex;
align-self: center;
min-width: 160px;
font-weight: 500;
font-size: 15px;
line-height: 18px;
}

&__details-alert-logs {
display: flex;
align-items: center;
Expand Down

0 comments on commit 6353a76

Please sign in to comment.