Skip to content

Commit 2c8d704

Browse files
table: fix import/export button visibility
1 parent 8c49f34 commit 2c8d704

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/app/components/dashboard/db-table/db-table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h2 class="mat-h2 table-name">{{ displayName }}</h2>
110110
</mat-menu>
111111
</div>
112112
<button mat-icon-button type="button"
113-
*ngIf="accessLevel === 'edit'"
113+
*ngIf="accessLevel === 'edit' && tableData && (tableData.isImportAllowed || tableData.isExportAllowed)"
114114
matTooltip="Emport / Export"
115115
[matMenuTriggerFor]="transferDataMenu"
116116
angulartics2On="click"

0 commit comments

Comments
 (0)