Piped/src/components/ErrorHandler.vue
FireMasterK 20ad39b327
Wrap description text.
And remove v-html for channels.
2021-06-07 22:55:16 +05:30

16 lines
382 B
Vue

<template>
<p>{{ message }}</p>
<button uk-toggle="target: #stacktrace" class="uk-button uk-button-small" style="background: #222" type="button">
Show More
</button>
<p id="stacktrace" style="white-space: pre-wrap" hidden>{{ error }}</p>
</template>
<script>
export default {
props: {
error: String,
message: String,
},
};
</script>