Cancel button for client settings doesn't work
This commit is contained in:
parent
c32377e37d
commit
14324adc6a
|
|
@ -413,7 +413,6 @@ void viewEntitiesByType({
|
||||||
case EntityType.schedule:
|
case EntityType.schedule:
|
||||||
action = ViewScheduleList();
|
action = ViewScheduleList();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EntityType.transactionRule:
|
case EntityType.transactionRule:
|
||||||
action = ViewTransactionRuleList();
|
action = ViewTransactionRuleList();
|
||||||
break;
|
break;
|
||||||
|
|
@ -464,6 +463,10 @@ void viewEntitiesByType({
|
||||||
if (action != null) {
|
if (action != null) {
|
||||||
store.dispatch(action);
|
store.dispatch(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (filterEntity != null) {
|
||||||
|
store.dispatch(PopLastHistory());
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -398,6 +398,7 @@ else
|
||||||
|
|
||||||
comment="STARTER: history - do not remove comment"
|
comment="STARTER: history - do not remove comment"
|
||||||
code="TypedReducer<BuiltList<HistoryRecord>, View${Module}>((historyList, action) => _addToHistory(historyList, HistoryRecord(id: action.${module_camel}Id, entityType: EntityType.${module_camel}))),TypedReducer<BuiltList<HistoryRecord>, Edit${Module}>((historyList, action) => _addToHistory(historyList, HistoryRecord(id: action.${module_camel}.id, entityType: EntityType.${module_camel}))),${lineBreak}"
|
code="TypedReducer<BuiltList<HistoryRecord>, View${Module}>((historyList, action) => _addToHistory(historyList, HistoryRecord(id: action.${module_camel}Id, entityType: EntityType.${module_camel}))),TypedReducer<BuiltList<HistoryRecord>, Edit${Module}>((historyList, action) => _addToHistory(historyList, HistoryRecord(id: action.${module_camel}.id, entityType: EntityType.${module_camel}))),${lineBreak}"
|
||||||
|
code="${code}TypedReducer<BuiltList<HistoryRecord>, View${Module}List>((historyList, action) => _addToHistory(historyList, HistoryRecord(id: action.${module_camel}Id, entityType: EntityType.${module_camel}))),TypedReducer<BuiltList<HistoryRecord>, Edit${Module}>((historyList, action) => _addToHistory(historyList, HistoryRecord(entityType: EntityType.${module_camel}))),${lineBreak}"
|
||||||
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart
|
sed -i -e "s/$comment/$comment${lineBreak}$code/g" ./lib/redux/ui/pref_reducer.dart
|
||||||
|
|
||||||
comment="STARTER: import - do not remove comment"
|
comment="STARTER: import - do not remove comment"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue