2
0
mirror of https://github.com/frappe/books.git synced 2024-12-27 12:42:44 +00:00
books/ui/components/Modal/ErrorModal.vue

21 lines
379 B
Vue
Raw Normal View History

<template>
<div class="modal-body">
<p v-if="message">{{message}}</p>
<div v-if="stackTrace"><hr>
<textarea v-model="stackTrace" disabled></textarea>
</div>
</div>
</template>
<script>
export default {
props: ["message", "stackTrace"]
}
</script>
<style scoped>
textarea {
width: 100%;
height: 40vh;
padding: 1%
}
</style>