diff --git a/_dist/application/SvelteApplication.js b/_dist/application/SvelteApplication.js index 9972547e..d98c86a3 100644 --- a/_dist/application/SvelteApplication.js +++ b/_dist/application/SvelteApplication.js @@ -854,8 +854,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/_dist/application/legacy/SvelteFormApplication.js b/_dist/application/legacy/SvelteFormApplication.js index 3d9356b5..79473616 100644 --- a/_dist/application/legacy/SvelteFormApplication.js +++ b/_dist/application/legacy/SvelteFormApplication.js @@ -855,8 +855,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/src/application/SvelteApplication.js b/src/application/SvelteApplication.js index 9972547e..d98c86a3 100644 --- a/src/application/SvelteApplication.js +++ b/src/application/SvelteApplication.js @@ -854,8 +854,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/src/application/legacy/SvelteFormApplication.js b/src/application/legacy/SvelteFormApplication.js index 3d9356b5..79473616 100644 --- a/src/application/legacy/SvelteFormApplication.js +++ b/src/application/legacy/SvelteFormApplication.js @@ -855,8 +855,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; }