Actually check for FBM as well (#127).

This commit is contained in:
Peter Hardy 2020-03-26 22:28:27 +11:00
parent dce0cd1e10
commit 4581722e0b
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def set_initial_values(kwargs, form_type):
if last_feeding:
last_type = last_feeding.type
last_feed_args = {'type': last_feeding.type}
if last_type == 'formula':
if last_type in ['formula', 'fortified breast milk']:
last_feed_args['method'] = 'bottle'
kwargs['initial'].update(last_feed_args)