This commit is contained in:
parent
700701f055
commit
81b35aa75b
|
@ -19,9 +19,9 @@ const type = Object.keys(config).find((key) => key in useAttrs()) || 'sip';
|
|||
onBeforeMount(async () => {
|
||||
let url;
|
||||
let { channel } = config[type];
|
||||
if (type === 'sip') return;
|
||||
|
||||
if (type === 'say-simple') {
|
||||
if (type === 'sip') return;
|
||||
else if (type === 'say-simple') {
|
||||
url = (await axios.get('SaySimpleConfigs/findOne')).data.url;
|
||||
if (!channel)
|
||||
channel = (
|
||||
|
|
Loading…
Reference in New Issue