now supporting commands
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
<span v-if="!formEditField[command.id+'_recorder_id']">{{command.recorder_id}}
|
||||
<div v-if="command.recorder">
|
||||
<p class="card-text"><strong>{{ $t('Recorder') }}:</strong> {{command.recorder.name}}
|
||||
({{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> {{
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user