mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] eslint
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user