mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Fix 'document' is not defined [no-undef] lint in web_environment_ribbon
This commit is contained in:
@@ -2,6 +2,8 @@ import {Component, xml} from "@odoo/owl";
|
||||
import {useBus, useService} from "@web/core/utils/hooks";
|
||||
import {registry} from "@web/core/registry";
|
||||
|
||||
const {document} = globalThis;
|
||||
|
||||
export class WebEnvironmentRibbon extends Component {
|
||||
setup() {
|
||||
this.orm = useService("orm");
|
||||
|
||||
Reference in New Issue
Block a user