mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
improve responsive layout of search results
This commit is contained in:
+10
-2
@@ -15,6 +15,7 @@ const app = Vue.createApp({
|
||||
return {
|
||||
searchbaroptions: {
|
||||
cssclass: "",
|
||||
calcheightonly: true,
|
||||
types: [
|
||||
"mitarbeiter",
|
||||
"raum",
|
||||
@@ -75,9 +76,16 @@ const app = Vue.createApp({
|
||||
},
|
||||
organisationunit: {
|
||||
defaultaction: {
|
||||
type: "function",
|
||||
type: "link",
|
||||
renderif: function(data) {
|
||||
if(data.mailgroup) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
action: function(data) {
|
||||
alert('organisationunit defaultaction ' + JSON.stringify(data));
|
||||
const link = 'mailto:' + data.mailgroup;
|
||||
return link;
|
||||
}
|
||||
},
|
||||
childactions: []
|
||||
|
||||
Reference in New Issue
Block a user