From 95a680eb83b66030c51cb511e21fa205ff183e12 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 28 May 2021 16:24:47 +0200 Subject: [PATCH] fix whitespace --- .../web/ui/session/room/timeline/RedactedView.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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