diff --git a/sun_badge_menu/static/src/webclient/navbar/navbar.js b/sun_badge_menu/static/src/webclient/navbar/navbar.js index 2c587965e..4e6b5be46 100644 --- a/sun_badge_menu/static/src/webclient/navbar/navbar.js +++ b/sun_badge_menu/static/src/webclient/navbar/navbar.js @@ -5,7 +5,6 @@ import { patch } from "@web/core/utils/patch"; import { deepCopy } from "@web/core/utils/objects"; import { useService } from "@web/core/utils/hooks"; import { url } from "@web/core/utils/urls"; -import { clickRefreshButton } from "../actions/client_actions" const WKF_NOTIFY_TYPE = 'wkf_notify' @@ -32,15 +31,6 @@ patch(NavBar.prototype, { console.log(e) }); } - // if (d?.type === WKF_NOTIFY_TYPE) { - // this.menuService.reload(); - // return this.audio.play() - // .then(() => { - // clickRefreshButton(); - // }).catch((e) => { - // console.log(e) - // }); - // } } const oldMenuApps = deepCopy(this.menuService.getApps()) @@ -69,7 +59,6 @@ patch(NavBar.prototype, { } } } - // clickRefreshButton(); }, 300) }); }