auto-disable "new folder" dialog in demo shell (#2694)

This commit is contained in:
Denys Vuika
2017-11-22 15:56:31 +00:00
committed by Eugenio Romano
parent b0c599c115
commit afcd4e5809
2 changed files with 12 additions and 3 deletions

View File

@@ -34,8 +34,10 @@
<adf-toolbar-divider fxFlex="0 0 auto"></adf-toolbar-divider>
<div fxFlex="0 0 auto" class="adf-document-action-buttons" fxShow fxHide.lt-sm="true">
<button mat-icon-button
[adf-create-folder]="getDocumentListCurrentFolderId()">
<button
mat-icon-button
[disabled]="!canCreateContent(documentList.folderNode)"
[adf-create-folder]="getDocumentListCurrentFolderId()">
<mat-icon>create_new_folder</mat-icon>
</button>
<button mat-icon-button