summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModuleClientView.vue
diff options
context:
space:
mode:
authorUdo Walter2019-04-13 15:33:51 +0200
committerUdo Walter2019-04-13 15:33:51 +0200
commit53028fd8498c7b7ea997c1af51162d26d972ba05 (patch)
treefcf8dbedb382f95aee4f00fc2ea8fc3b64f1c5f5 /webapp/src/components/GroupModuleClientView.vue
parent[datatable] fix values with comma in csv copy (diff)
downloadbas-53028fd8498c7b7ea997c1af51162d26d972ba05.tar.gz
bas-53028fd8498c7b7ea997c1af51162d26d972ba05.tar.xz
bas-53028fd8498c7b7ea997c1af51162d26d972ba05.zip
[groups,clients] include config as association
Diffstat (limited to 'webapp/src/components/GroupModuleClientView.vue')
-rw-r--r--webapp/src/components/GroupModuleClientView.vue5
1 files changed, 1 insertions, 4 deletions
diff --git a/webapp/src/components/GroupModuleClientView.vue b/webapp/src/components/GroupModuleClientView.vue
index e5e3630..c8f0bb1 100644
--- a/webapp/src/components/GroupModuleClientView.vue
+++ b/webapp/src/components/GroupModuleClientView.vue
@@ -75,7 +75,7 @@
v-model="info.configId"
:items="configList"
></v-select>
- <div v-else>{{ configName || '-' }}</div>
+ <div v-else>{{ client.config ? (client.config.name || client.config.id) : '-' }}</div>
</div>
</div>
</v-flex>
@@ -177,9 +177,6 @@ export default {
},
computed: {
...mapState('groups', ['groupList', 'configList']),
- configName () {
- return this.$store.state.groups.configNames[this.client.configId]
- },
headers () {
return [
{ key: 'name', text: this.$t('name') }