feat: integrate kitchen tabs bar into meals, recipes, shopping

This commit is contained in:
Ulas Kalayci
2026-04-29 19:56:41 +02:00
parent 7e137d1c21
commit 88778a95c9
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -10,6 +10,7 @@ import { t } from '/i18n.js';
import { esc } from '/utils/html.js';
import { promptModal } from '/components/modal.js';
import { DEFAULT_CATEGORY_NAME, categoryLabel } from '/utils/shopping-categories.js';
import { renderKitchenTabsBar } from '/utils/kitchen-tabs.js';
// --------------------------------------------------------
// Konstanten
@@ -839,6 +840,7 @@ export async function render(container, { user }) {
</div>
</div>
`;
renderKitchenTabsBar(container, '/shopping');
try {
await Promise.all([loadCategories(), loadLists()]);