0π
Its not the same, in the previous approach you return an function. Try it like this:
buttonText() {
return () => this.omitDescription ? 'γγγγ£γΌγ«γγγ£γ¨θ¦γ' : 'γγγγ£γΌγ«γιγγ';
}
Source:stackexchange.com