Avoid showing "removed" batch rows by default

This commit is contained in:
Lance Edgar 2020-03-29 16:32:52 -05:00
parent d1db1c54c4
commit d634143e84

View file

@ -185,7 +185,10 @@ export default {
rowFilters: {
type: Function,
default: (uuid) => {
return JSON.stringify([{field: 'batch_uuid', op: 'eq', value: uuid}])
return JSON.stringify([
{field: 'batch_uuid', op: 'eq', value: uuid},
{field: 'removed', op: 'eq', value: false},
])
},
},
rowOrderBy: {