Skip to content

Commit

Permalink
Fix 'document' is not defined [no-undef] lint in base_import_async
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviedoanhduy committed Oct 28, 2024
1 parent f643ad5 commit ca4ebd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base_import_async/static/src/js/import_model.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import {BaseImportModel} from "@base_import/import_model";
import {_t} from "@web/core/l10n/translation";
import {patch} from "@web/core/utils/patch";

const {document} = globalThis;

patch(BaseImportModel.prototype, {
get importOptions() {
const options = super.importOptions;
Expand Down

0 comments on commit ca4ebd2

Please sign in to comment.