Small bugfix for upcoming update

This commit is contained in:
Zerebos 2024-03-04 14:32:17 -05:00
parent 9dc12f4619
commit bd6e3f664f
No known key found for this signature in database
GPG Key ID: 79BE50E3D28D5686
3 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"mocha": "^10.3.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.90.3",
"webpack-cli": "^4.10.0"
},

View File

@ -38,6 +38,9 @@ importers:
mocha:
specifier: ^10.3.0
version: 10.3.0
terser-webpack-plugin:
specifier: ^5.3.10
version: 5.3.10(webpack@5.90.3)
webpack:
specifier: ^5.90.3
version: 5.90.3(webpack-cli@4.10.0)

View File

@ -33,7 +33,7 @@ export default class Modals {
static get hasModalOpen() {return !!document.getElementsByClassName("bd-modal").length;}
static get ModalActions() {
return this._ModalActions ??= WebpackModules.getByProps("openModal", "closeModal");
return this._ModalActions ??= WebpackModules.getByProps("openModal", "closeModal", "updateModal");
}
static get ModalQueue() {return this._ModalQueue ??= [];}