Account Setting Information

The account setting list the connection name which is the server address
directly followed by the username. This is then followed by a field
repeating the username again.

This duplication of information is nor really helpful, which is why this
patch replaces this with two fields containing just the two information:
host address and username.
This commit is contained in:
Lars Kiesow 2023-02-11 23:47:02 +01:00
parent e8c6fc635f
commit 28ede56c7c
No known key found for this signature in database
GPG key ID: 5DAFE8D9C823CE73

View file

@ -1,6 +1,6 @@
<template>
<div class="w-full h-full p-4">
<ui-text-input-with-label :value="serverConnConfigName" label="Connection Config Name" disabled class="my-2" />
<ui-text-input-with-label :value="serverAddress" label="Host" disabled class="my-2" />
<ui-text-input-with-label :value="username" label="Username" disabled class="my-2" />
@ -41,9 +41,6 @@ export default {
serverConnectionConfig() {
return this.$store.state.user.serverConnectionConfig || {}
},
serverConnConfigName() {
return this.serverConnectionConfig.name
},
serverAddress() {
return this.serverConnectionConfig.address
}