From 91abb8812ba94f6c1f74b220d47b21036b3ecfc7 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sun, 7 Dec 2025 02:01:31 +0100 Subject: [PATCH] asd --- public/assets/js/ui-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/ui-list.js b/public/assets/js/ui-list.js index 03e0401..8fce648 100644 --- a/public/assets/js/ui-list.js +++ b/public/assets/js/ui-list.js @@ -34,7 +34,7 @@ async function openSnippetEditor(id){ let resp = {}; try { resp = await apiGet('snippets', id) || {}; } catch(e){} const row = resp?.item || resp?.data || resp || {}; - const contentValue = resp?.content ?? row.content ?? ''; + const contentValue = (row?.content ?? resp?.html ?? resp?.content ?? ''); if (inpName) inpName.value = row.name || ''; if (taContent) taContent.value = contentValue;