summaryrefslogtreecommitdiffstats
path: root/settings/src/components
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-10 17:55:08 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-16 09:50:24 +0200
commita62c796f0709dacc332b7d9328e3f6ab151991f3 (patch)
treef707321be045956c54f819217d0ee44a2d7eff15 /settings/src/components
parent170746dadae678d02657515206ac4c96976c8173 (diff)
downloadnextcloud-server-a62c796f0709dacc332b7d9328e3f6ab151991f3.tar.gz
nextcloud-server-a62c796f0709dacc332b7d9328e3f6ab151991f3.zip
Production build, router base url fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src/components')
-rw-r--r--settings/src/components/userList.vue2
-rw-r--r--settings/src/components/userList/userRow.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/src/components/userList.vue b/settings/src/components/userList.vue
index 05aa1f520db..18d3609a163 100644
--- a/settings/src/components/userList.vue
+++ b/settings/src/components/userList.vue
@@ -160,7 +160,7 @@ export default {
let disabledUsers = this.users.filter(user => user.enabled !== true);
if (disabledUsers.length===0 && this.$refs.infiniteLoading && this.$refs.infiniteLoading.isComplete) {
// disabled group is empty, redirection to all users
- this.$router.push('/settings/users');
+ this.$router.push({name: 'users'});
this.$refs.infiniteLoading.$emit('$InfiniteLoading:reset');
}
return disabledUsers;
diff --git a/settings/src/components/userList/userRow.vue b/settings/src/components/userList/userRow.vue
index c6394832fd4..e6edc5e4f6a 100644
--- a/settings/src/components/userList/userRow.vue
+++ b/settings/src/components/userList/userRow.vue
@@ -9,7 +9,7 @@
<form class="displayName" :class="{'icon-loading-small': loading.displayName}" v-on:submit.prevent="updateDisplayName">
<input :id="'displayName'+user.id+rand" type="text"
:disabled="loading.displayName||loading.all"
- :value="user.displayname" ref="displayName"
+ :value="user.displayname"
autocomplete="new-password" autocorrect="off" autocapitalize="off" spellcheck="false" />
<input type="submit" class="icon-confirm" value="" />
</form>