Skip to content

Commit

Permalink
just render the yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Jul 31, 2024
1 parent 18e6994 commit 33e781f
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions ui/src/lib/components/SidePanel/component.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,9 @@
</dl>
</div>

{#if resource.spec}
<div class="bg-gray-800 text-gray-200 p-6">
<h3 class="text-lg font-semibold">Spec</h3>
<pre class="text-sm overflow-x-auto">{JSON.stringify(resource.spec, null, 2)}</pre>
</div>
{/if}

{#if resource.status}
<div class="bg-gray-800 text-gray-200 p-6">
<h3 class="text-lg font-semibold">Status</h3>
<pre class="text-sm overflow-x-auto">{JSON.stringify(resource.status, null, 2)}</pre>
</div>
{/if}
<div class="bg-gray-800 text-gray-200 p-6">
<pre class="text-sm overflow-x-auto">{JSON.stringify(resource, null, 2)}</pre>
</div>
</div>
</div>
</div>

0 comments on commit 33e781f

Please sign in to comment.