mirror of
https://github.com/frappe/books.git
synced 2024-12-27 12:42:44 +00:00
b96ea40b99
* Add error modal * Initialize frappe.error and frappe.events. Code formatting * Fix indentation
21 lines
379 B
Vue
21 lines
379 B
Vue
<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>
|