Sha256: 0cf32f74b23aada9bf1bd8ff92a89833daab3d0c11fa8470c21e1b1dff4da0a9

Contents?: true

Size: 710 Bytes

Versions: 14

Compression:

Stored size: 710 Bytes

Contents

<template>
  <div class="notification is-danger is-light">
    <p v-if="error.response.data?.message">{{ error.response.data.message }}</p>
    <p v-else>{{ error }}</p>
  </div>

  <article class="message" v-if="error.response.data?.details">
    <div class="message-body">
      <VueJsonPretty :data="error.response.data.details"></VueJsonPretty>
    </div>
  </article>
</template>

<script lang="ts">
import "vue-json-pretty/lib/styles.css"

import { defineComponent } from "vue"
import VueJsonPretty from "vue-json-pretty"

export default defineComponent({
  name: "ErrorItem",
  props: {
    error: {
      type: Object,
      required: true
    }
  },
  components: {
    VueJsonPretty
  }
})
</script>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mihari-5.5.0 frontend/src/components/ErrorMessage.vue
mihari-5.4.9 frontend/src/components/ErrorMessage.vue
mihari-5.4.8 frontend/src/components/ErrorMessage.vue
mihari-5.4.7 frontend/src/components/ErrorMessage.vue
mihari-5.4.6 frontend/src/components/ErrorMessage.vue
mihari-5.4.5 frontend/src/components/ErrorMessage.vue
mihari-5.4.4 frontend/src/components/ErrorMessage.vue
mihari-5.4.3 frontend/src/components/ErrorMessage.vue
mihari-5.4.2 frontend/src/components/ErrorMessage.vue
mihari-5.4.1 frontend/src/components/ErrorMessage.vue
mihari-5.4.0 frontend/src/components/ErrorMessage.vue
mihari-5.3.2 frontend/src/components/ErrorMessage.vue
mihari-5.3.1 frontend/src/components/ErrorMessage.vue
mihari-5.3.0 frontend/src/components/ErrorMessage.vue