now supporting commands

This commit is contained in:
2019-08-08 16:37:41 +02:00
parent 2f7f865378
commit 6f0a2af15d
5 changed files with 3618 additions and 3764 deletions

View File

@@ -115,7 +115,7 @@
<span v-if="!formEditField[command.id+'_recorder_id']">{{command.recorder_id}}&nbsp;
<div v-if="command.recorder">
<p class="card-text"><strong>{{ $t('Recorder') }}:</strong>&nbsp;{{command.recorder.name}}&nbsp;
({{command.recorder.ip}}) / ({{command.recorder.network_name}})
({{command.recorder.ip}}) / ({{command.recorder.network_name}})</p>
</div>
<div v-else>
<p class="card-text"><strong>{{ $t('Recorder') }}:</strong>&nbsp;{{
@@ -360,7 +360,7 @@
mounted() {
this.$parent.$data.isLoading = true;
this.$parent.$data.showAlert = false;
this.$store.dispatch('loadcommands')
this.$store.dispatch('loadCommands')
.then(() => {
this.$store.dispatch('loadRecorders')
.then(() => {
@@ -378,7 +378,7 @@
};
},
commands() {
return this.$store.state.commands;
return this.$store.state.recorderCommands;
},
recorders() {
return this.$store.state.recorders;