changes the db query and adopts the layout of the Vue component to show the correct betreff and content of the news

This commit is contained in:
SimonGschnell
2024-06-26 13:21:32 +02:00
parent f546554f87
commit 478adb740e
5 changed files with 45 additions and 55 deletions
+2 -3
View File
@@ -11,14 +11,13 @@ export default {
}
);
},
news(limit, metadata=false) {
news(limit) {
return this.$fhcApi.get(
FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
"/api/frontend/v1/Cms/news",
{
limit: limit,
metadata: metadata,
limit: limit
}
);
},