After deleting schedule return to list
This commit is contained in:
parent
7bbc141009
commit
4d97e632b6
|
|
@ -8,6 +8,8 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:built_collection/built_collection.dart';
|
import 'package:built_collection/built_collection.dart';
|
||||||
import 'package:flutter_redux/flutter_redux.dart';
|
import 'package:flutter_redux/flutter_redux.dart';
|
||||||
import 'package:invoiceninja_flutter/ui/bank_account/bank_account_screen.dart';
|
import 'package:invoiceninja_flutter/ui/bank_account/bank_account_screen.dart';
|
||||||
|
import 'package:invoiceninja_flutter/ui/schedule/schedule_screen.dart';
|
||||||
|
import 'package:invoiceninja_flutter/ui/transaction_rule/transaction_rule_screen.dart';
|
||||||
import 'package:redux/redux.dart';
|
import 'package:redux/redux.dart';
|
||||||
|
|
||||||
// Project imports:
|
// Project imports:
|
||||||
|
|
@ -1503,9 +1505,15 @@ void handleEntitiesActions(List<BaseEntity> entities, EntityAction action,
|
||||||
case EntityType.bankAccount:
|
case EntityType.bankAccount:
|
||||||
store.dispatch(UpdateCurrentRoute(BankAccountScreen.route));
|
store.dispatch(UpdateCurrentRoute(BankAccountScreen.route));
|
||||||
break;
|
break;
|
||||||
|
case EntityType.transactionRule:
|
||||||
|
store.dispatch(UpdateCurrentRoute(TransactionRuleScreen.route));
|
||||||
|
break;
|
||||||
|
case EntityType.schedule:
|
||||||
|
store.dispatch(UpdateCurrentRoute(ScheduleScreen.route));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
print(
|
print(
|
||||||
'ERROR: ${entities.first.entityType} entity type not supported');
|
'## ERROR: ${entities.first.entityType} entity type not supported');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue