fix: only show "create row" button if batch view supports it
This commit is contained in:
parent
fa2a90c9cc
commit
90784cecb2
2 changed files with 2 additions and 1 deletions
|
|
@ -442,6 +442,7 @@ class TestBatchMasterView(WebTestCase):
|
|||
mod.BatchMasterView,
|
||||
model_class=MockBatch,
|
||||
route_prefix="mock_batches",
|
||||
rows_creatable=True,
|
||||
create=True,
|
||||
):
|
||||
with patch.object(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue