Some more tweaks to remove "buefy" references
mostly just docstring / comments but there were some code changes too
This commit is contained in:
parent
ba521abf4f
commit
d4089fbc6e
10 changed files with 42 additions and 45 deletions
|
@ -202,7 +202,7 @@ class BatchMasterView(MasterView):
|
|||
action_url=action_url,
|
||||
component='upload-worksheet-form')
|
||||
form.set_type('worksheet_file', 'file')
|
||||
# TODO: must set these to avoid some default Buefy code
|
||||
# TODO: must set these to avoid some default code
|
||||
form.auto_disable = False
|
||||
form.auto_disable_save = False
|
||||
return form
|
||||
|
|
|
@ -145,9 +145,7 @@ class ImporterBatchView(BatchMasterView):
|
|||
make_filter('object_key')
|
||||
make_filter('object_str')
|
||||
|
||||
# for some reason we have to do this differently for Buefy?
|
||||
kwargs = {}
|
||||
make_filter('status_code', label="Status", **kwargs)
|
||||
make_filter('status_code', label="Status")
|
||||
g.filters['status_code'].set_choices(self.enum.IMPORTER_BATCH_ROW_STATUS)
|
||||
|
||||
def make_sorter(field):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue