remove system logging

This commit is contained in:
Jonathan Baecker 2020-09-11 12:12:26 +02:00
parent 1dd9493c90
commit fe3f5424db

View File

@ -26,12 +26,6 @@
<pre v-if="currentLog" :inner-html.prop="currentLog | formatStr" class="log-content" /> <pre v-if="currentLog" :inner-html.prop="currentLog | formatStr" class="log-content" />
</b-container> </b-container>
</b-tab> </b-tab>
<b-tab title="System" @click="getSystemLog()">
<b-container class="log-container">
<!-- eslint-disable-next-line -->
<pre v-if="currentLog" :inner-html.prop="currentLog | formatStr" class="log-content" />
</b-container>
</b-tab>
</b-tabs> </b-tabs>
</b-card> </b-card>
</div> </div>
@ -95,15 +89,6 @@ export default {
} else { } else {
this.currentLog = '' this.currentLog = ''
} }
},
async getSystemLog () {
const response = await this.$axios.post('api/player/system/', { run: 'log' })
if (response.data.data) {
this.currentLog = response.data.data
} else {
this.currentLog = ''
}
} }
} }
} }