diff --git a/chameleon-client/src/views/Camera.vue b/chameleon-client/src/views/Camera.vue
index 3760f972f..ae2480554 100644
--- a/chameleon-client/src/views/Camera.vue
+++ b/chameleon-client/src/views/Camera.vue
@@ -21,12 +21,12 @@
-
-
+
menu
@@ -191,7 +191,7 @@
},
openDuplicateDialog() {
this.pipelineDuplicate = {
- pipeline: this.currentPipelineIndex,
+ pipeline: this.currentPipelineIndex - 1,
camera: -1
};
this.duplicateDialog = true;
@@ -306,10 +306,7 @@
},
pipelineList: {
get() {
- let tmp = ["Driver Mode"];
- let pipelineList = this.$store.state.pipelineList;
- tmp = tmp.concat(pipelineList);
- return tmp;
+ return this.$store.state.pipelineList;
}
},
pipeline: {