Revert state filter as map fix
This commit is contained in:
parent
c1f9c8c16d
commit
7cba6c8a10
@ -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:
|
||||||
|
Reference in New Issue
Block a user