Skip to content

Commit 963b8b0

Browse files
committed
[UXP-184] Fix lint
1 parent ca1e9dd commit 963b8b0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ds-alert *ngIf="description" [content]="description" [type]="'alert-info'"></ds-alert>
1+
<ds-alert *ngIf="description" [content]="description" [type]="AlertType.Info"></ds-alert>
22
<div *ngIf="enabledSearch" class="treeview-header row" data-test="search-field">
33
<div class="col-12 d-flex">
44
<div class="input-group">

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ export class VocabularyTreeviewComponent implements OnDestroy, OnInit, OnChanges
127127
*/
128128
private subs: Subscription[] = [];
129129

130+
readonly AlertType = AlertType;
131+
130132
/**
131133
* Initialize instance variables
132134
*

0 commit comments

Comments
 (0)