Skip to content
Snippets Groups Projects
Commit fc8e5805 authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

modify case null

parent 0bd497b6
No related branches found
No related tags found
2 merge requests!329Update enrollment - new filters,!309Merge new updates into master
...@@ -20,8 +20,6 @@ along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. ...@@ -20,8 +20,6 @@ along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
module.exports = function governmentAgreement(id) { module.exports = function governmentAgreement(id) {
switch (id) { switch (id) {
case null:
return "Não classificada"
case 1: case 1:
return 'Convênio com rede Municipal'; return 'Convênio com rede Municipal';
case 2: case 2:
...@@ -34,6 +32,7 @@ module.exports = function governmentAgreement(id) { ...@@ -34,6 +32,7 @@ module.exports = function governmentAgreement(id) {
return 'Privada sem detalhamento'; return 'Privada sem detalhamento';
case 6: case 6:
return 'Não se aplica (pública)'; return 'Não se aplica (pública)';
case null:
default: default:
return 'Não classificada'; return 'Não classificada';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment