remove unnecessary officer properties on workspace

This commit is contained in:
dandds
2019-01-04 13:30:41 -05:00
parent 356a0fab2c
commit 65a88da63b
2 changed files with 1 additions and 19 deletions

View File

@@ -161,7 +161,7 @@ class UpdateTaskOrderWorkflow(ShowTaskOrderWorkflow):
if (
hasattr(self.form, field)
and self.form[field].data
and not getattr(self.workspace, officer_type["role"])
and not getattr(self.task_order, officer_type["role"])
):
prefix = officer_type["prefix"]
officer_data = {