Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin UI: Temporary disable edit feature of a internal storage translation #364

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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