now also displays the room information inside a modal and does not redirect to the content site

This commit is contained in:
SimonGschnell
2024-06-24 14:23:34 +02:00
parent b3dfcdc295
commit 6230aa47ae
5 changed files with 117 additions and 7 deletions
+9 -1
View File
@@ -1,5 +1,5 @@
export default {
getContentID($ort_kurbz) {
getContentID($ort_kurbz) {
return this.$fhcApi.get(
FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
@@ -7,4 +7,12 @@ export default {
{ ort_kurzbz: $ort_kurbz }
);
},
getOrtKuzbzContent($ort_kurzbz_content_id) {
return this.$fhcApi.get(
FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +
"/api/frontend/v1/Ort/getOrtKurzbzContent",
{ content_id: $ort_kurzbz_content_id }
);
},
}