open-nomad/ui/app/templates/components/json-viewer.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
248 B
Handlebars
Raw Normal View History

{{!
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
~}}
<div
data-test-json-viewer
{{code-mirror
content=(stringify-object @json)
theme="hashi-read-only"
readOnly=true
screenReaderLabel="JSON Viewer"
}}
/>