Skip to content

Commit bfaf616

Browse files
Merge pull request #113 from garima468/hide-create-button
hide create button under state tab
2 parents a49d1f1 + db8fa49 commit bfaf616

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

project/ws/app/src/lib/routes/home/routes/directory/directory.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@
4545
</div>
4646
<ng-container>
4747
<ws-widget-directory-table [selectedDepartment]='currentDepartment' [tableData]='tabledata' [data]='data'
48-
[needCreate]="currentFilter === 'mdo'? false : true" (eOnRowClick)="onRoleClick($event)"
49-
(actionsClick)="actionClick($event)" (searchByEnterKey)="onEnterkySearch($event)">
48+
[needCreate]="currentFilter === 'mdo' || currentFilter === 'state' ? false : true"
49+
(eOnRowClick)="onRoleClick($event)" (actionsClick)="actionClick($event)"
50+
(searchByEnterKey)="onEnterkySearch($event)">
5051
</ws-widget-directory-table>
5152
</ng-container>
5253
</mat-card-content>

0 commit comments

Comments
 (0)