@symbo.ls/router 2.12.88 → 2.12.89

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.
Files changed (2) hide show
  1. package/index.js +2 -3
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -32,11 +32,12 @@ const defaultOptions = {
32
32
  authCheck: true,
33
33
  updateState: true,
34
34
  updateStateOptions: {
35
+ preventUpdate: ['Iframe'],
35
36
  preventUpdateTriggerStateUpdate: true
36
37
  // preventContentUpdate: true,
37
38
  // preventUpdate: ['MainHeaderCaptions', 'HeaderSubAside']
38
39
  },
39
- preventUpdate: ['Canvas'],
40
+ preventUpdate: ['Iframe'],
40
41
  setOptions: {},
41
42
  scrollToOffset: 120,
42
43
  scrollToOptions: { behavior: 'smooth' }
@@ -117,8 +118,6 @@ export const router = (
117
118
 
118
119
  if (!isModal && element.Modal?.content) {
119
120
  element.Modal.removeContent()
120
- } else if (isModal && element.content?.Tabs) {
121
- element.content.Tabs.update()
122
121
  }
123
122
  }
124
123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/router",
3
- "version": "2.12.88",
3
+ "version": "2.12.89",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -11,6 +11,6 @@
11
11
  "@domql/utils": "latest",
12
12
  "@symbo.ls/auth-redirect": "latest"
13
13
  },
14
- "gitHead": "7bf6e50ec6bf6abe7b547da84cebddbafa1d363b",
14
+ "gitHead": "139bed3c8f506cf74bbaf4753aadd7ab4daa3c9a",
15
15
  "source": "index.js"
16
16
  }