add Getränke cateogry in all display

This commit is contained in:
Alexander Bocken 2023-07-13 11:50:29 +02:00
parent 6476419a29
commit 25c3f41b42
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -6,8 +6,7 @@
import Search from '$lib/components/Search.svelte'; import Search from '$lib/components/Search.svelte';
export let data: PageData; export let data: PageData;
export let current_month = new Date().getMonth() + 1 export let current_month = new Date().getMonth() + 1
const all_categories = [ ...new Set (data.all_brief.map(item => item.category))]; const categories = ["Hauptspeise", "Nudel", "Brot", "Dessert", "Suppe", "Beilage", "Salat", "Kuchen", "Sauce", "Zutat", "Getränk", "Aufstrich", "Guetzli"]
const categories = ["Hauptspeise", "Nudel", "Brot", "Dessert", "Suppe", "Beilage", "Salat", "Kuchen", "Sauce", "Zutat", "Aufstrich", "Guetzli"]
</script> </script>
<style> <style>
h1{ h1{