@rebilly/revel 12.31.0 → 12.31.1

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
@@ -1,6 +1,6 @@
1
- ## [12.31.0](https://github.com/Rebilly/rebilly/compare/revel-v12.30.7...revel-v12.31.0) (2026-05-04)
1
+ ## [12.31.1](https://github.com/Rebilly/rebilly/compare/revel-v12.31.0...revel-v12.31.1) (2026-05-05)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * **recomm:** add Sentry plugin to upload sourcemaps ([#20648](https://github.com/Rebilly/rebilly/issues/20648)) ([f93e27c](https://github.com/Rebilly/rebilly/commit/f93e27c93814a4409cf24f4b7319ae2deeda6d3d))
6
+ * **recomm, revel:** Fix tabs in reports ([#20980](https://github.com/Rebilly/rebilly/issues/20980)) ([fcf3247](https://github.com/Rebilly/rebilly/commit/fcf3247eeae2a9969c602d0e9648a4f7a9dac20e))
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  validateErrorMessages: Array<string>;
76
76
  isInvalid: boolean;
77
77
  } | undefined;
78
- goingToSameRoute(to?: Tab["to"]): boolean | "";
78
+ goingToSameRoute(to?: Tab["to"]): boolean;
79
79
  addItemToTabsList(tab: Tab): void;
80
80
  bootstrap(): void;
81
81
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "tab-selected"[], "tab-selected", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
package/dist/revel.mjs CHANGED
@@ -12211,8 +12211,10 @@ const fW = /* @__PURE__ */ HM(qW, [["render", WW]]), hW = z0({
12211
12211
  return this.tabs.filter((b) => b.to).find((b) => this.goingToSameRoute(b.to));
12212
12212
  },
12213
12213
  goingToSameRoute(M) {
12214
- return !M || !this.$route || !this.$route ? !0 : M && this.$route.fullPath.endsWith(
12215
- this.$router.resolve(M).href.replace(/^#/, "")
12214
+ if (!M || !this.$route) return !0;
12215
+ const b = this.$router.resolve(M);
12216
+ return this.$route.path !== b.path ? !1 : Object.entries(b.query).every(
12217
+ ([z, p]) => JSON.stringify(p) === JSON.stringify(this.$route.query[z])
12216
12218
  );
12217
12219
  },
12218
12220
  addItemToTabsList(M) {