Revert state filter as map fix

This commit is contained in:
Yegor Vialov 2020-05-09 18:46:53 +00:00
parent c1f9c8c16d
commit 7cba6c8a10

View File

@ -18,9 +18,6 @@ class CardData {
} else if (!(rawData['type'] is String)) { } else if (!(rawData['type'] is String)) {
return CardData(null); return CardData(null);
} }
if (rawData['state_filter'] is Map) {
rawData['state_filter'] = (rawData['state_filter'] as Map).keys.toList();
}
switch (rawData['type']) { switch (rawData['type']) {
case CardType.ENTITIES: case CardType.ENTITIES:
case CardType.HISTORY_GRAPH: case CardType.HISTORY_GRAPH: