premiaciones no mostrar inactivas
This commit is contained in:
@@ -199,6 +199,7 @@ export default {
|
||||
}
|
||||
)
|
||||
.then((res) => {
|
||||
console.log(res)
|
||||
this.isLoading = false
|
||||
if (res) this.premiaciones = res.data
|
||||
})
|
||||
@@ -234,7 +235,7 @@ export default {
|
||||
this.Profesor.adscripcion = localStorage.getItem('adscripcion')
|
||||
this.Profesor.numeroTrabajador = localStorage.getItem('numeroTrabajador')
|
||||
await this.fetchPremiaciones()
|
||||
if (this.premiaciones.length === 1) {
|
||||
if (this.premiaciones.length === 1 && this.premiaciones.length > 0) {
|
||||
await this.yaRegistrado()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user