From b1a48465d53ff0c3e125cfc97bf46ae0e9148d29 Mon Sep 17 00:00:00 2001 From: bobslee Date: Sat, 20 May 2023 14:04:52 +0200 Subject: [PATCH] [IMP] eslint --- .../src/js/web_ir_actions_close_wizard_refresh_view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js b/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js index ecc9169c2..4fe50aa69 100644 --- a/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js +++ b/web_ir_actions_close_wizard_refresh_view/static/src/js/web_ir_actions_close_wizard_refresh_view.js @@ -5,12 +5,12 @@ import {useService} from "@web/core/utils/hooks"; async function executeCloseAndRefreshView({env, action, options}) { // env.services.ui.block(); - const actionService = env.services['action']; + const actionService = env.services["action"]; const originalAction = action._originalAction; return actionService.doAction( - {'type': "ir.actions.act_window_close"}, + {type: "ir.actions.act_window_close"}, { - 'onClose': function() { + onClose: function() { actionService.doAction(originalAction); } }