Avoid exposing batch params when creating a batch

not sure how this never came up until now..?
This commit is contained in:
Lance Edgar 2021-11-04 21:20:42 -05:00
parent 0758ca09e6
commit b34d88d704

View file

@ -341,6 +341,10 @@ class BatchMasterView(MasterView):
f.set_renderer('id', self.render_id_str) f.set_renderer('id', self.render_id_str)
f.set_label('id', "Batch ID") f.set_label('id', "Batch ID")
# params
if self.creating:
f.remove('params')
# created # created
f.set_readonly('created') f.set_readonly('created')
f.set_readonly('created_by') f.set_readonly('created_by')