Browse Source

chore: revise based on comments

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/292/head
Wing-Kam Wong 3 years ago
parent
commit
7856e2bc3d
  1. 2
      packages/nc-gui/components/changeEnv.vue
  2. 2
      packages/nc-gui/components/project/settings/env.vue
  3. 2
      packages/nc-gui/pages/project/id.vue
  4. 4
      packages/nc-gui/pages/user/authentication/signin.vue
  5. 4
      packages/nc-gui/pages/user/authentication/signup/_token.vue

2
packages/nc-gui/components/changeEnv.vue

@ -72,7 +72,7 @@
await new Promise(resolve => {
const interv = setInterval(() => {
axios.create({
baseURL: `${$axios.defaults.baseURL}/dashboard`,
baseURL: `${this.$axios.defaults.baseURL}/dashboard`,
}).get('').then(() => {
this.projectReloading = false;
clearInterval(interv);

2
packages/nc-gui/components/project/settings/env.vue

@ -62,7 +62,7 @@ export default {
await new Promise(resolve => {
const interv = setInterval(() => {
axios.create({
baseURL: `${$axios.defaults.baseURL}/dashboard`
baseURL: `${this.$axios.defaults.baseURL}/dashboard`
}).get('').then(() => {
this.projectReloading = false;
clearInterval(interv);

2
packages/nc-gui/pages/project/id.vue

@ -1113,7 +1113,7 @@ export default {
}
axios.create({
baseURL: `${$axios.defaults.baseURL}/dashboard`,
baseURL: `${this.$axios.defaults.baseURL}/dashboard`,
}).get('').then(() => {
toast.goAway(100);
this.projectReloading = false;

4
packages/nc-gui/pages/user/authentication/signin.vue

@ -105,7 +105,7 @@
<div>
<v-btn
v-if="googleAuthEnabled"
:href="`${this.$axios.defaults.baseURL}/auth/google`"
:href="`${$axios.defaults.baseURL}/auth/google`"
outlined
large
elevation-10
@ -122,7 +122,7 @@
</v-btn>
<v-btn
v-if="githubAuthEnabled"
:href="`${this.$axios.defaults.baseURL}/auth/google`"
:href="`${$axios.defaults.baseURL}/auth/google`"
outlined
large
elevation-10

4
packages/nc-gui/pages/user/authentication/signup/_token.vue

@ -98,7 +98,7 @@
<v-btn
v-if="googleAuthEnabled"
:href="`${this.$axios.defaults.baseURL}/auth/google?state=${token}`" outlined
:href="`${$axios.defaults.baseURL}/auth/google?state=${token}`" outlined
large elevation-10
block
color="blue">
@ -154,7 +154,7 @@
<!-- <v-btn
v-if="googleAuthEnabled"
:href="`${this.$axios.defaults.baseURL}/auth/google?state=${token}`" outlined
:href="`${$axios.defaults.baseURL}/auth/google?state=${token}`" outlined
large elevation-10
block
color="blue">

Loading…
Cancel
Save