druxt 0.25.2 → 0.25.3-dev.20261126054209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -291,10 +291,13 @@ export default {
|
|
|
291
291
|
},
|
|
292
292
|
|
|
293
293
|
watch: {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
294
|
+
// Nuxt 2's $fetch() hands back a running fetch rather than starting one,
|
|
295
|
+
// and that fetch still has the old language. Wait for it to end, so the
|
|
296
|
+
// fetch started here is for the new language.
|
|
297
|
+
async lang(to, from) {
|
|
298
|
+
if (to === from) return
|
|
299
|
+
if (this._fetchPromise) await this._fetchPromise
|
|
300
|
+
return this.$fetch()
|
|
298
301
|
},
|
|
299
302
|
|
|
300
303
|
// Nuxt 2 doesn't re-run fetch() when a component's own props change, so a
|
package/dist/druxt.esm.js
CHANGED
|
@@ -687,7 +687,7 @@ const cacheClearHandler = (secret) => (req, res) => {
|
|
|
687
687
|
};
|
|
688
688
|
|
|
689
689
|
var name = "druxt";
|
|
690
|
-
var version = "0.25.
|
|
690
|
+
var version = "0.25.3-dev.20261126054209";
|
|
691
691
|
var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
|
|
692
692
|
var keywords = [
|
|
693
693
|
"cms",
|
package/dist/druxt.ssr.js
CHANGED
|
@@ -700,7 +700,7 @@ const cacheClearHandler = (secret) => (req, res) => {
|
|
|
700
700
|
};
|
|
701
701
|
|
|
702
702
|
var name = "druxt";
|
|
703
|
-
var version = "0.25.
|
|
703
|
+
var version = "0.25.3-dev.20261126054209";
|
|
704
704
|
var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
|
|
705
705
|
var keywords = [
|
|
706
706
|
"cms",
|