diff --git a/src/platform/web/ui/session/room/timeline/RedactedView.js b/src/platform/web/ui/session/room/timeline/RedactedView.js index 14d27d24..e6f9b4d9 100644 --- a/src/platform/web/ui/session/room/timeline/RedactedView.js +++ b/src/platform/web/ui/session/room/timeline/RedactedView.js @@ -23,10 +23,10 @@ export class RedactedView extends BaseMessageView { } createMenuOptions(vm) { - const options = super.createMenuOptions(vm); - if (vm.isRedacting) { - options.push(Menu.option(vm.i18n`Cancel`, () => vm.abortPendingRedaction())); - } - return options; + const options = super.createMenuOptions(vm); + if (vm.isRedacting) { + options.push(Menu.option(vm.i18n`Cancel`, () => vm.abortPendingRedaction())); + } + return options; } } \ No newline at end of file