bfg-common 1.4.138 → 1.4.139

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.
@@ -113,12 +113,12 @@
113
113
  </div>
114
114
 
115
115
  <button
116
- class="btn btn-primary btn-sm mt-2 clr-col-md-2"
116
+ class="btn btn-primary btn-sm mt-2"
117
117
  :disabled="disabledSignInButton"
118
118
  data-id="sign-in-button"
119
119
  @click="onConnectServer"
120
120
  >
121
- {{ localization.common.login }}
121
+ {{ localization.auth.login }}
122
122
  </button>
123
123
  </div>
124
124
  </template>
@@ -194,7 +194,9 @@ const onConnectServer = async (): Promise<void> => {
194
194
  )
195
195
 
196
196
  showValidationErrors([alertText], 'alert-success')
197
+ modelConnectServer.value = true
197
198
  } catch (error) {
199
+ modelConnectServer.value = false
198
200
  showValidationErrors([error as string], 'alert-danger')
199
201
  } finally {
200
202
  props.wizard.setLoader(false)
@@ -202,11 +204,11 @@ const onConnectServer = async (): Promise<void> => {
202
204
  }
203
205
 
204
206
  watch(
205
- modelConnectServer,
206
- (newValue: boolean | undefined) => {
207
- props.wizard.setDisabledNextButton(!newValue)
208
- },
209
- { immediate: true }
207
+ modelConnectServer,
208
+ (newValue: boolean | undefined) => {
209
+ props.wizard.setDisabledNextButton(!newValue)
210
+ },
211
+ { immediate: true }
210
212
  )
211
213
  </script>
212
214
 
@@ -244,6 +246,9 @@ watch(
244
246
  }
245
247
  }
246
248
  }
249
+ button.btn-sm {
250
+ max-width: 20%;
251
+ }
247
252
  }
248
253
  .flex-align-center {
249
254
  &.input-action-wrapper {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.138",
4
+ "version": "1.4.139",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",