Fixed recieving ingest details
This commit is contained in:
parent
ae1754ca1f
commit
09dd2572f9
@ -10,12 +10,12 @@
|
||||
|
||||
<md-field>
|
||||
<label>URL</label>
|
||||
<md-input readonly="true" v-model="editorData.url"></md-input>
|
||||
<md-input :readonly="true" v-model="editorData.url"></md-input>
|
||||
</md-field>
|
||||
|
||||
<md-field>
|
||||
<label>Stream Key</label>
|
||||
<md-input readonly="true" type="password" v-model="editorData.streamkey"></md-input>
|
||||
<md-input :readonly="true" type="password" v-model="editorData.streamkey"></md-input>
|
||||
</md-field>
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user