File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
src/app/components/cert-table Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 11@if (context === 'active') {
2+ @let placeHolder = "There are no active certificates.";
23 @if (hasEditPermission) {
3- < app-smart-table [labels] ="columnsForActive " [data] ="data " [selectedIds] ="[serial] " [deleteCall] ="onRevoke " deleteText ="Revoke " [downloadCall] ="onDownload " [addCall] ="onAdd "
4- placeholder ="There is no issued certificate. "
5- [itemType] ="itemType "> </ app-smart-table >
4+ < app-smart-table [labels] ="columnsForActive " [data] ="data " [selectedIds] ="[serial] " [deleteCall] ="onRevoke "
5+ deleteText ="Revoke " [downloadCall] ="onDownload " [addCall] ="onAdd "
6+ placeholder ="{{ placeHolder }} "
7+ [itemType] ="itemType "> </ app-smart-table >
68 } @else {
79 < app-smart-table [labels] ="columnsForActive " [data] ="data " [selectedIds] ="[serial] " [downloadCall] ="onDownload "
8- placeholder ="There is no issued certificate. "
9- [itemType] ="itemType "> </ app-smart-table >
10+ placeholder ="{{ placeHolder }} "
11+ [itemType] ="itemType "> </ app-smart-table >
1012 }
11-
1213} @else if (context === 'revoked') {
13- < app-smart-table [labels] ="columnsForRevoked " [data] ="data " placeholder ="There is no revoked certificate . "
14- [itemType] ="itemType "> </ app-smart-table >
14+ < app-smart-table [labels] ="columnsForRevoked " [data] ="data " placeholder ="There are no revoked certificates . "
15+ [itemType] ="itemType "> </ app-smart-table >
1516} @else {
16- < h1 > The given context is wrong! : {{context}}</ h1 >
17+ < h1 > The given context is wrong! : {{ context }}</ h1 >
1718}
You can’t perform that action at this time.
0 commit comments