Modifiche prima di Luglio...
This commit is contained in:
@@ -116,10 +116,27 @@ export default defineComponent({
|
||||
return userStore.my.username
|
||||
}
|
||||
|
||||
function getRegulation(reg: string) {
|
||||
let strreg = reg + ''
|
||||
if (!reg) {
|
||||
let name = ''
|
||||
if (circuit.value!.hasOwnProperty('name')) {
|
||||
// @ts-ignore
|
||||
name = circuit.value!.name
|
||||
}
|
||||
const mystringa = t('circuit.regolamento', {nomecircuito: name})
|
||||
return mystringa
|
||||
} else {
|
||||
return reg
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
onMounted(mounted)
|
||||
|
||||
return {
|
||||
circuit,
|
||||
getRegulation,
|
||||
costanti,
|
||||
getImgCircuit,
|
||||
naviga,
|
||||
|
||||
Reference in New Issue
Block a user