Providers fix (#188)

This commit is contained in:
Aleksandra Usacheva 2020-09-25 17:41:25 +03:00 committed by GitHub
parent 07990b9856
commit ac574b4b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,9 @@ export const filterProvidersByTerminalSelector = (
const selector = object.data.terminal;
switch (filterValue) {
case 'decisions':
return selector.decisions;
return selector?.decisions;
case 'value':
return selector.value;
return selector?.value;
}
});
};