Skip to content

Commit

Permalink
InternalStorageTranslations: Reenable editing
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinFutterer committed Jan 20, 2025
1 parent e45c877 commit dc8ad7f
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,8 @@
<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)"
[disabled]="true"
matTooltip="Due to an issue with the database after editing a translation, this feature is currently disabled.">
<button mat-menu-item (click)="editStorageTranslation(element.id)">
<mat-icon>edit</mat-icon>
{{ "admin.table.action.edit" | translate }}
</button>
Expand Down

0 comments on commit dc8ad7f

Please sign in to comment.