18 lines
517 B
Vue
18 lines
517 B
Vue
<script setup lang="ts">
|
|
import { computed } from "vue";
|
|
|
|
import CodeView from "@/base/CodeView.vue";
|
|
|
|
/**
|
|
* A JSON payload, verbatim. Two panels show one (the attempt's recorded config
|
|
* and the debug view), and both must show exactly what the daemon stored --
|
|
* no projection, no prettifying beyond indentation.
|
|
*/
|
|
const props = defineProps<{ value: unknown }>();
|
|
const text = computed(() => JSON.stringify(props.value ?? {}, null, 2));
|
|
</script>
|
|
|
|
<template>
|
|
<CodeView :code="text" lang="json" />
|
|
</template>
|