add renderif to default room action if no content id is defined

This commit is contained in:
Harald Bamberger
2024-11-25 11:31:13 +01:00
parent 6f1e61fa00
commit df0ed6715c
+6
View File
@@ -36,6 +36,12 @@ const app = Vue.createApp({
raum: {
defaultaction: {
type: "link",
renderif: function(data) {
if(data.content_id === "N/A"){
return false;
}
return true;
},
action: function(data) {
const link= FHC_JS_DATA_STORAGE_OBJECT.app_root +
FHC_JS_DATA_STORAGE_OBJECT.ci_router +