@symbo.ls/router 2.29.83 → 2.29.85
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.
- package/index.js +5 -2
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -132,8 +132,11 @@ export async function router(path = '/', el, state = {}, passedOptions = {}) {
|
|
|
132
132
|
|
|
133
133
|
const hasSet = isInitial || !isInitial
|
|
134
134
|
if (hasSet) {
|
|
135
|
-
if (
|
|
136
|
-
|
|
135
|
+
if (
|
|
136
|
+
element.content &&
|
|
137
|
+
(options.forceContentUpdate || (!isInitial && wasModal))
|
|
138
|
+
) {
|
|
139
|
+
await element.content?.update(
|
|
137
140
|
{},
|
|
138
141
|
{
|
|
139
142
|
preventUpdate: options.preventUpdate
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/router",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.85",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"vpatch": "npm version patch && npm publish --access public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@domql/utils": "^2.29.
|
|
11
|
+
"@domql/utils": "^2.29.85"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "1b59a8173275f34b13c1aba7a43073401f46989b",
|
|
14
14
|
"source": "index.js"
|
|
15
15
|
}
|