update(Cms.js/News.js/PhrasenPlugin): removes the reload option, because the content can be newly fetched based on the currently active language

This commit is contained in:
SimonGschnell
2024-12-13 14:41:07 +01:00
parent 701f44c767
commit cb6fca9a2e
11 changed files with 54 additions and 69 deletions
+2 -1
View File
@@ -12,12 +12,13 @@ export default {
},
//api function used for the news View that renders the html
getNews(page = 1, page_size = 10) {
getNews(page = 1, page_size = 10, sprache) {
return this.$fhcApi.get(
"/api/frontend/v1/Cms/getNews",
{
page,
page_size,
sprache,
},
);
},