mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1016] translate Undo action text (#72)
This commit is contained in:
committed by
Denys Vuika
parent
025210fcce
commit
41aec25b91
@@ -59,7 +59,7 @@ export class NodeDeleteDirective {
|
||||
|
||||
this.getDeleteMesssage(processedData)
|
||||
.subscribe((message) => {
|
||||
const withUndo = processedData.someSucceeded ? 'Undo' : '';
|
||||
const withUndo = processedData.someSucceeded ? this.translation.translate.instant('APP.ACTIONS.UNDO') : '';
|
||||
|
||||
this.notification.openSnackMessageAction(message, withUndo, NodeDeleteDirective.DELETE_MESSAGE_DURATION)
|
||||
.onAction()
|
||||
|
Reference in New Issue
Block a user