@next-core/brick-kit 2.117.7 → 2.117.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.117.8](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.117.7...@next-core/brick-kit@2.117.8) (2022-04-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * put template preview route before others ([590153d](https://github.com/easyops-cn/next-core/commit/590153d5ce84c4ba0f410931d6c35846342c3436))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.117.7](https://github.com/easyops-cn/next-core/compare/@next-core/brick-kit@2.117.6...@next-core/brick-kit@2.117.7) (2022-04-12)
7
18
 
8
19
 
@@ -10213,14 +10213,14 @@
10213
10213
 
10214
10214
  try {
10215
10215
  yield locationContext.mountRoutes( // Concat with a placeholder when loading template preview settings.
10216
- storyboard.routes.concat({
10216
+ [{
10217
10217
  path: "${APP.homepage}/_dev_only_/template-preview/:templateId",
10218
10218
  bricks: [{
10219
10219
  brick: "span"
10220
10220
  }],
10221
10221
  menu: false,
10222
10222
  exact: true
10223
- }), undefined, mountRoutesResult);
10223
+ }].concat(storyboard.routes), undefined, mountRoutesResult);
10224
10224
  } catch (error) {
10225
10225
  // eslint-disable-next-line no-console
10226
10226
  console.error(error); // Redirect to login page if not logged in.