fix filtro de inquilinos eliminados
This commit is contained in:
parent
2dcfdf495f
commit
b9d79c8402
|
@ -60,7 +60,7 @@ const Inquilinos = () => {
|
||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
.then((data) => data.message)
|
.then((data) => data.message)
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
data = data.filter((val) => val.status != -1)
|
data = data.filter((val) => val.status !== -1)
|
||||||
data.map((item) => {
|
data.map((item) => {
|
||||||
if (item.status === '1') {
|
if (item.status === '1') {
|
||||||
item.status_text = 'Activo'
|
item.status_text = 'Activo'
|
||||||
|
|
Loading…
Reference in New Issue