Name the table's local after the class it applies, and let a broken chain show itself

This commit is contained in:
2026-09-09 14:18:36 +02:00
parent 696da397e7
commit cb4f8d6e98
7 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
%><%
const navHtml = include("partials/nav-tree", { nodes: chrome.nav });
const filtersHtml = include("partials/filter-bar", filterBar);
const tableHtml = include("partials/data-table", { ...table, fills: true });
const tableHtml = include("partials/data-table", { ...table, scrollRegion: true });
const alertHtml = locals.error ? include("partials/alert", { text: locals.error, tone: "neg" }) : "";
const actions = canWrite
? '<a class="btn btn-primary" href="' + localeHref(newHref) + '"><svg class="ico ico-sm" aria-hidden="true"><use href="#i-plus"/></svg>' + t("scheduling.shifts.new") + '</a>'