From 4ddb9aa08f16a61d40c47fc7fe249c356ce83bef Mon Sep 17 00:00:00 2001 From: Chris Gerth Date: Sat, 15 Jan 2022 09:11:12 -0600 Subject: [PATCH] Create new pipelines with same type as current (#398) --- .../src/components/pipeline/CameraAndPipelineSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-client/src/components/pipeline/CameraAndPipelineSelect.vue b/photon-client/src/components/pipeline/CameraAndPipelineSelect.vue index 648c919ba..5b2871efc 100644 --- a/photon-client/src/components/pipeline/CameraAndPipelineSelect.vue +++ b/photon-client/src/components/pipeline/CameraAndPipelineSelect.vue @@ -384,7 +384,7 @@ export default { if (this.isPipelineNameEdit) { this.handleInputWithIndex("changePipelineName", this.newPipelineName); } else { - this.handleInputWithIndex("addNewPipeline", [this.newPipelineName, this.newPipelineType]); // 0 for reflective, 1 for colored shpae + this.handleInputWithIndex("addNewPipeline", [this.newPipelineName, this.currentPipelineType]); // 0 for reflective, 1 for colored shpae } this.discardPipelineNameChange(); }