Browse Source

Fix UI to properly show account.sync flag

pull/46/head
Kristijan Mitrovic 4 years ago
parent
commit
2afa496430
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/account/profile/ProfilePage.vue

+ 6
- 6
src/account/profile/ProfilePage.vue View File

@@ -79,10 +79,10 @@

<!-- sync password -->
<div v-if="admin === true && currentUser.uuid === subject.uuid" class="form-group">
<label for="syncAccount">{{ messages.field_label_sync_account }}</label>
<input type="checkbox" id="syncAccount" v-model="subject.syncAccount">
<div v-if="submitted && errors.has('syncAccount')" class="invalid-feedback d-block">
{{ errors.first('syncAccount') }}
<label for="sync">{{ messages.field_label_sync_account }}</label>
<input type="checkbox" id="sync" v-model="subject.sync">
<div v-if="submitted && errors.has('sync')" class="invalid-feedback d-block">
{{ errors.first('sync') }}
</div>
<p>{{ messages.field_label_sync_account_description }}</p>
</div>
@@ -121,7 +121,7 @@
locale: null,
admin: null,
suspended: null,
syncAccount: null,
sync: null,
showBlockStats: null,
autoUpdatePolicy: {
jarUpdates: true,
@@ -206,7 +206,7 @@
locale: this.subject.locale,
admin: this.subject.admin,
suspended: this.subject.suspended,
syncAccount: this.subject.syncAccount,
sync: this.subject.sync,
autoUpdatePolicy: this.subject.autoUpdatePolicy
};
this.submitted = true;


Loading…
Cancel
Save