@oniti/quasar-app-extension-vlank-auth 3.2.11 → 3.2.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniti/quasar-app-extension-vlank-auth",
3
- "version": "3.2.11",
3
+ "version": "3.2.12",
4
4
  "description": "Authentification",
5
5
  "author": "François BOUYER <francois@oniti.fr>",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  label="Mot de passe oublié ?"
54
54
  v-if="$q.config.onitiVlankAuth.disableLostPassword !== true"
55
55
  />
56
- <div v-if="getLogoBottomImage()" class="text-logo">
56
+ <div v-if="$q.config.onitiVlankAuth.hideBottomTextLogo !== true" class="text-logo">
57
57
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
58
58
  </div>
59
59
  </q-card>
@@ -95,7 +95,10 @@ const getLogoImage = function () {
95
95
 
96
96
 
97
97
  const getLogoBottomImage = function () {
98
- return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
98
+ if ($q.config.onitiVlankAuth.hideBottomTextLogo !== true)
99
+ {
100
+ return require('vlank-auth-logo-text')
101
+ }
99
102
  }
100
103
 
101
104
 
@@ -32,7 +32,7 @@
32
32
  label="Retour à l'écran de connexion"
33
33
  @click="onClickBackLogin"
34
34
  />
35
- <div v-if="getLogoBottomImage()" class="text-logo">
35
+ <div v-if="$q.config.onitiVlankAuth.hideBottomTextLogo !== true" class="text-logo">
36
36
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
37
37
  </div>
38
38
  </q-card>
@@ -61,7 +61,10 @@ const getLogoImage = function () {
61
61
  }
62
62
 
63
63
  const getLogoBottomImage = function () {
64
- return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
64
+ if ($q.config.onitiVlankAuth.hideBottomTextLogo !== true)
65
+ {
66
+ return require('vlank-auth-logo-text')
67
+ }
65
68
  }
66
69
 
67
70
  const onClickBackLogin = function () {
@@ -54,7 +54,7 @@
54
54
  unelevated
55
55
  @click="submitPassword"
56
56
  />
57
- <div v-if="getLogoBottomImage()" class="text-logo">
57
+ <div v-if="$q.config.onitiVlankAuth.hideBottomTextLogo !== true" class="text-logo">
58
58
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
59
59
  </div>
60
60
  </q-card>
@@ -98,7 +98,10 @@ const getLogoImage = function () {
98
98
  }
99
99
 
100
100
  const getLogoBottomImage = function () {
101
- return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
101
+ if ($q.config.onitiVlankAuth.hideBottomTextLogo !== true)
102
+ {
103
+ return require('vlank-auth-logo-text')
104
+ }
102
105
  }
103
106
 
104
107
  watch(has_check, (newValue, oldValue) => {