@tapni/auth 1.0.49 → 1.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.
- package/dist/.vite/manifest.json +10 -10
- package/dist/{Apps-HQa2BJ6I.js → Apps-WVb4S3LS.js} +1 -1
- package/dist/{Billing-CdKnzPQ0.js → Billing-C8WFpUFn.js} +1 -1
- package/dist/{CustomApp-Bne3_0ER.js → CustomApp-LUQvCaYr.js} +1 -1
- package/dist/{QR-DXrAYZV9.js → QR-C6K2Z3Ey.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +6 -6
- package/dist/{install-DwV_6IOt.js → install-Bwa_1dZE.js} +729 -722
- package/package.json +1 -1
- package/src/main.js +1 -1
- package/src/views/General.vue +14 -1
- package/src/views/Login.vue +0 -1
package/package.json
CHANGED
package/src/main.js
CHANGED
|
@@ -45,7 +45,7 @@ router.beforeEach((to, from, next) => {
|
|
|
45
45
|
* @param data
|
|
46
46
|
*/
|
|
47
47
|
function redirectToProfile(data) {
|
|
48
|
-
if (data && data.url) {
|
|
48
|
+
if (data && data.url && data.url !== '/undefined') {
|
|
49
49
|
let url = new URL(data.url);
|
|
50
50
|
let pathname = url.pathname || '';
|
|
51
51
|
let queryParams = url.search || '';
|
package/src/views/General.vue
CHANGED
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
:isClearable="false"
|
|
64
64
|
placeholder="Select region"
|
|
65
65
|
/>
|
|
66
|
-
<p>Default currency for this region is {{account.billing?.currency?.toUpperCase()}}</p>
|
|
66
|
+
<p v-if="false">Default currency for this region is {{account.billing?.currency?.toUpperCase()}}</p>
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
<h3 class="full-top bold">{{ssoLang[appLanguage].app_language}}</h3>
|
|
@@ -126,6 +126,19 @@ export default {
|
|
|
126
126
|
loading: false,
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
|
+
watch: {
|
|
130
|
+
'account.lang': {
|
|
131
|
+
handler(newLang) {
|
|
132
|
+
if (newLang) {
|
|
133
|
+
this.updateLang(newLang);
|
|
134
|
+
if (this.display === 'npm') {
|
|
135
|
+
this.$store.commit('setLanguage', newLang);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
immediate: true
|
|
140
|
+
}
|
|
141
|
+
},
|
|
129
142
|
async mounted() {
|
|
130
143
|
if (!this.isLoggedIn) this.$router.push('/login');
|
|
131
144
|
if (this.isEmpty(this.account)) this.$router.push('/account');
|
package/src/views/Login.vue
CHANGED