empty log when nothing is there to show

This commit is contained in:
Jonathan Baecker 2020-05-12 13:16:04 +02:00
parent 9ac74220d4
commit f9e65e8dac

View File

@ -93,6 +93,8 @@ export default {
if (response.data.log) {
this.currentLog = response.data.log
} else {
this.currentLog = ''
}
},
async getSystemLog () {
@ -101,6 +103,8 @@ export default {
if (response.data.data) {
this.currentLog = response.data.data
} else {
this.currentLog = ''
}
}
}