From b9d79c8402a2028bf342f3f19b01749a64654acd Mon Sep 17 00:00:00 2001 From: Mariela Date: Mon, 22 Aug 2022 17:54:08 -0600 Subject: [PATCH] fix filtro de inquilinos eliminados --- web-ui/web-react/src/components/Inquilinos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-ui/web-react/src/components/Inquilinos.js b/web-ui/web-react/src/components/Inquilinos.js index 0e0350e9..459cee47 100644 --- a/web-ui/web-react/src/components/Inquilinos.js +++ b/web-ui/web-react/src/components/Inquilinos.js @@ -60,7 +60,7 @@ const Inquilinos = () => { .then((response) => response.json()) .then((data) => data.message) .then((data) => { - data = data.filter((val) => val.status != -1) + data = data.filter((val) => val.status !== -1) data.map((item) => { if (item.status === '1') { item.status_text = 'Activo'