| OLD | NEW |
| (Empty) | |
| 1 library portfolio; |
| 2 |
| 3 import 'package:web_ui/web_ui.dart'; |
| 4 import 'package:route_hierarchical/client.dart'; |
| 5 |
| 6 import 'index.dart'; |
| 7 |
| 8 class HomeComponent extends WebComponent { |
| 9 var links = <String, Map<String, String>>{}; |
| 10 |
| 11 created() { |
| 12 ['100001', '111111'].forEach((companyId) { |
| 13 links[companyId] = {}; |
| 14 ['info', 'activities', 'notes'].forEach((mode) => |
| 15 links[companyId][mode] = router.url('companyInfo.companyId.' + mode, |
| 16 parameters: { |
| 17 'companyId': companyId |
| 18 })); |
| 19 }); |
| 20 } |
| 21 } |
| OLD | NEW |