2021-06-07 00:17:43 +05:30
|
|
|
<template>
|
|
|
|
<p>{{ message }}</p>
|
2021-11-01 00:06:47 +05:30
|
|
|
<button @click="toggleTrace" class="uk-button uk-button-small" type="button">
|
2021-09-05 18:38:26 +05:30
|
|
|
{{ $t("actions.show_more") }}
|
2021-06-07 00:17:43 +05:30
|
|
|
</button>
|
2021-11-01 00:06:47 +05:30
|
|
|
<p ref="stacktrace" style="white-space: pre-wrap" hidden>{{ error }}</p>
|
2021-06-07 00:17:43 +05:30
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
2021-10-09 00:22:51 +05:30
|
|
|
error: { type: String, default: null },
|
|
|
|
message: { type: String, default: null },
|
2021-06-07 00:17:43 +05:30
|
|
|
},
|
2021-11-01 00:06:47 +05:30
|
|
|
methods: {
|
|
|
|
toggleTrace() {
|
|
|
|
this.$refs.stacktrace.hidden = !this.$refs.stacktrace.hidden;
|
|
|
|
},
|
|
|
|
},
|
2021-06-07 00:17:43 +05:30
|
|
|
};
|
|
|
|
</script>
|