mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-17 22:47:04 +00:00
Minor update to log view textarea.
This commit is contained in:
parent
eb519dffce
commit
ee86bc5212
|
@ -85,14 +85,12 @@ watch(toRef(props, 'logUrl'), (newLogUrl) => {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
logs.value = '';
|
logs.value = '';
|
||||||
currentLogPosition.value = 0;
|
currentLogPosition.value = 0;
|
||||||
|
|
||||||
if (null === newLogUrl) {
|
|
||||||
stop();
|
stop();
|
||||||
} else {
|
|
||||||
|
if (null !== newLogUrl) {
|
||||||
updateInterval = setInterval(updateLogs, 2500);
|
updateInterval = setInterval(updateLogs, 2500);
|
||||||
updateLogs();
|
updateLogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
}, {immediate: true});
|
}, {immediate: true});
|
||||||
|
|
||||||
const getContents = () => {
|
const getContents = () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user