Does anyone have any insight on how to resolve this error? I've hit a roadblock trying to figure out the issue in the message below.
Here is the snippet of code:
:label="` ${$t('cadastros.clientes.edit.status')}: ${cliente.status === true ? ${$t('cadastros.clientes.edit.ativo')} : ${$t('cadastros.clientes.edit.inativo')}}`"
This is the specific error I'm encountering:
Errors compiling template:
invalid expression: Unexpected token '{' in
` ${$t('cadastros.clientes.edit.status')}: ${cliente.status === true ? ${$t('cadastros.clientes.edit.ativo')} : ${$t('cadastros.clientes.edit.inativo')}}`
Raw expression: :label="` ${$t('cadastros.clientes.edit.status')}: ${cliente.status === true ? ${$t('cadastros.clientes.edit.ativo')} : ${$t('cadastros.clientes.edit.inativo')}}`"
I am utilizing locale for translation and vue/vuetify for coding purposes.