diff --git a/app/src/protyle/render/av/groups.ts b/app/src/protyle/render/av/groups.ts index 2986a9bed..822f971d9 100644 --- a/app/src/protyle/render/av/groups.ts +++ b/app/src/protyle/render/av/groups.ts @@ -76,11 +76,26 @@ ${html} export const getGroupsHTML = (columns: IAVColumn[], group: IAVGroup) => { let html = ""; - if (group) { - html = ` + if (group && group.field) { + html = ` + + + `; } return `
@@ -93,7 +108,7 @@ export const getGroupsHTML = (columns: IAVColumn[], group: IAVGroup) => { ${html} diff --git a/app/src/protyle/render/av/view.ts b/app/src/protyle/render/av/view.ts index 23b0f47be..1cad27655 100644 --- a/app/src/protyle/render/av/view.ts +++ b/app/src/protyle/render/av/view.ts @@ -213,10 +213,10 @@ export const getViewHTML = (data: IAV) => { ${view.sorts.length} -