mirror of https://github.com/OCA/web.git
Fix 'document' is not defined [no-undef] lint in web_environment_ribbon
parent
dea89bfc58
commit
1ff5102808
|
@ -2,6 +2,8 @@ import {Component, xml} from "@odoo/owl";
|
||||||
import {useBus, useService} from "@web/core/utils/hooks";
|
import {useBus, useService} from "@web/core/utils/hooks";
|
||||||
import {registry} from "@web/core/registry";
|
import {registry} from "@web/core/registry";
|
||||||
|
|
||||||
|
const {document} = globalThis;
|
||||||
|
|
||||||
export class WebEnvironmentRibbon extends Component {
|
export class WebEnvironmentRibbon extends Component {
|
||||||
setup() {
|
setup() {
|
||||||
this.orm = useService("orm");
|
this.orm = useService("orm");
|
||||||
|
|
Loading…
Reference in New Issue