adata-ui 2.0.51 → 2.0.52

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.
@@ -31,16 +31,15 @@ const { locale } = useI18n()
31
31
 
32
32
  const items = useHeaderMenuLinks()
33
33
 
34
+ const { topUpSidePanel } = usePayment()
35
+
34
36
  const onReplenish = () => {
35
37
  // if (myLayer.authMode === 'locale') {
36
38
  // topUpSidePanel.value = true
37
39
  // return
38
40
  // }
39
41
 
40
- if (window) {
41
- window.location.href =
42
- buildLocalizedUrl(locale.value, myLayer.landingUrl, '/profile?popupBalance=1')
43
- }
42
+ topUpSidePanel.value = true
44
43
  }
45
44
  </script>
46
45
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adata-ui",
3
3
  "type": "module",
4
- "version": "2.0.51",
4
+ "version": "2.0.52",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",