mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
Remove code in Message component for now
This commit is contained in:
parent
ab10edcf06
commit
5b0b299429
@ -23,14 +23,13 @@ export default {
|
||||
subtitle: { type: String, required: true },
|
||||
buttonText: { type: String, required: false, default: null },
|
||||
linkTo: { type: String, required: false, default: null },
|
||||
code: { type: String, required: false, default: null },
|
||||
},
|
||||
methods: {
|
||||
showButton() {
|
||||
return this.buttonText && this.linkTo
|
||||
},
|
||||
buttonLinkTo() {
|
||||
return this.linkTo ? this.linkTo + (this.code ? `/${this.code}` : '') : null
|
||||
return this.linkTo ? this.linkTo : null
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user