From 09dd2572f93c0fb275d17fe304dcf11f055396c0 Mon Sep 17 00:00:00 2001 From: marcsello Date: Sun, 6 Dec 2020 20:01:47 +0100 Subject: [PATCH] Fixed recieving ingest details --- src/simple-flowchart/components/FlowchartNode.vue | 4 ++-- src/views/Dashboard.vue | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/simple-flowchart/components/FlowchartNode.vue b/src/simple-flowchart/components/FlowchartNode.vue index d885f3c..bd8a65b 100644 --- a/src/simple-flowchart/components/FlowchartNode.vue +++ b/src/simple-flowchart/components/FlowchartNode.vue @@ -10,12 +10,12 @@ - + - + diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue index 6bed34f..9a2f5de 100644 --- a/src/views/Dashboard.vue +++ b/src/views/Dashboard.vue @@ -217,6 +217,14 @@ export default { original_node.apiId = resp.data.id; } + if (resp.data.resource_type === 1) { + new_node.data.url = resp.data.url; + original_node.data.url = resp.data.url; + + new_node.data.streamkey = resp.data.stream_key; + original_node.data.streamkey = resp.data.stream_key; + } + return resolve(); }).catch(reject);