Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
fix(firewall-rules): fix firewall rule types sorting and alignment (c…
Browse files Browse the repository at this point in the history
…loses #868) (#883)
  • Loading branch information
Darya Baklanova authored Jan 18, 2018
1 parent 2735e6c commit b661ee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/security-group/sg-rules/sg-rule.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
border-bottom: none !important;

.mat-cell {
padding: 5px 18px;
padding: 5px 10px;
}
}
3 changes: 2 additions & 1 deletion src/app/security-group/sg-rules/sg-rules.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ export class SgRulesComponent implements OnChanges {
key: 'types',
label: 'SECURITY_GROUP_PAGE.FILTERS.TYPES',
selector: (item: NetworkRule) => item.type,
name: (item: NetworkRule) => `SECURITY_GROUP_PAGE.RULES.${item.type.toUpperCase()}_DISPLAY`
name: (item: NetworkRule) => this.translateService
.instant(`SECURITY_GROUP_PAGE.RULES.${item.type.toUpperCase()}_DISPLAY`)
}, {
key: 'protocols',
label: 'SECURITY_GROUP_PAGE.FILTERS.PROTOCOLS',
Expand Down

0 comments on commit b661ee9

Please sign in to comment.