Article-Collection etwas aufgeräumt und in einzelne Files ausgelagert.

This commit is contained in:
2022-06-09 14:24:32 +02:00
parent de6968f3d8
commit 9cf3a814e3
10 changed files with 290 additions and 221 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import * as animateScroll from "svelte-scrollto"
import { generalInfo, currentLang } from "../../store"
import { currentLang } from "../../store"
import { getArticles } from "../../api"
import GoogleMaps from "../widgets/GoogleMaps.svelte"
@@ -15,7 +15,9 @@
$: if ($currentLang) {
getArticles("articles", {
"article.general.locale": $currentLang,
filter: {
"article.general.locale": $currentLang,
},
}).then((response) => {
articleEntries = response
})