Skip to content

Commit a6a8208

Browse files
committed
Minor grammatical changes
1 parent e30bc2d commit a6a8208

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
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
}

0 commit comments

Comments
 (0)