Minor update to log view textarea.

This commit is contained in:
Buster Neece 2023-01-21 18:21:17 -06:00
parent eb519dffce
commit ee86bc5212
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
1 changed files with 2 additions and 4 deletions

View File

@ -85,14 +85,12 @@ watch(toRef(props, 'logUrl'), (newLogUrl) => {
loading.value = true;
logs.value = '';
currentLogPosition.value = 0;
stop();
if (null === newLogUrl) {
stop();
} else {
if (null !== newLogUrl) {
updateInterval = setInterval(updateLogs, 2500);
updateLogs();
}
}, {immediate: true});
const getContents = () => {