Don't bubble error through mounted hook

This commit is contained in:
Matthias 2022-11-10 07:29:46 +01:00
parent 7f0779fd3d
commit bf21299340

View File

@ -14,7 +14,9 @@ export default defineComponent({
setup() {
const botStore = useBotStore();
onMounted(() => botStore.activeBot.getLogs());
onMounted(async () => {
botStore.activeBot.getLogs();
});
const formattedLogs = computed(() => {
let result = '';