Article-Collection etwas aufgeräumt und in einzelne Files ausgelagert.
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user