Skip to content

Commit

Permalink
Admin UI: Temporary disable edit feature of a internal storage transl…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
GeoffreyKarnbach authored and ValentinFutterer committed Nov 13, 2024
1 parent 2266e51 commit 89b6fed
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,18 @@
<button mat-icon-button [matMenuTriggerFor]="menu">
<mat-icon>more_vert</mat-icon>
</button>
<!--
TODO: Re-enable editStorageTranslation when the database issue is resolved.
After updating a translation, an old audited version of the translation is still referenced
on the datasets. This causes the translation to be displayed incorrectly on the datasets.
See: https://github.com/tuwien-csd/damap-backend/issues/280
-->
<mat-menu #menu="matMenu">
<button mat-menu-item (click)="editStorageTranslation(element.id)">
<button
mat-menu-item
(click)="editStorageTranslation(element.id)"
[disabled]="true"
matTooltip="Due to an issue with the database after editing a translation, this feature is currently disabled.">
<mat-icon>edit</mat-icon>
{{ "admin.table.action.edit" | translate }}
</button>
Expand Down

0 comments on commit 89b6fed

Please sign in to comment.