diff --git a/public/js/components/DetailHeader/DetailHeader.js b/public/js/components/DetailHeader/DetailHeader.js index 0378e8e9a..5fe657c49 100644 --- a/public/js/components/DetailHeader/DetailHeader.js +++ b/public/js/components/DetailHeader/DetailHeader.js @@ -54,7 +54,20 @@ export default { if (this.typeHeader === 'student') return this.headerData; if (this.typeHeader === 'mitarbeiter') return this.person_id; return null; - } + }, + hasTileAlphaSlot() { + return !!this.$slots.titleAlphaTile + }, + hasTileBetaSlot() { + return !!this.$slots.titleBetaTile + }, + hasTileGammaSlot() { + return !!this.$slots.titleGammaTile + }, + hasTileUIDSlot() { + return !!this.$slots.uid + }, + }, created(){ if(this.person_id) { @@ -310,19 +323,27 @@ export default {