Skip to content

Commit a49d1f1

Browse files
Merge pull request #112 from garima468/hide-create-button
hide create button under mdo tab
2 parents 08806b9 + e3433b8 commit a49d1f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

0 commit comments

Comments
 (0)