mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-12 20:12:22 -06:00
More work on inbox, refactorings (bloc separation of concerns), fixed saved views wrong sort order
This commit is contained in:
@@ -16,6 +16,7 @@ class BulkDeleteAction extends BulkAction {
|
||||
return {
|
||||
'documents': documentIds.toList(),
|
||||
'method': 'delete',
|
||||
'parameters': {},
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -33,8 +34,9 @@ class BulkModifyTagsAction extends BulkAction {
|
||||
BulkModifyTagsAction.addTags(super.documents, this.addTags)
|
||||
: removeTags = const [];
|
||||
|
||||
BulkModifyTagsAction.removeTags(super.documents, this.removeTags)
|
||||
: addTags = const [];
|
||||
BulkModifyTagsAction.removeTags(super.documents, Iterable<int> tags)
|
||||
: addTags = const [],
|
||||
removeTags = tags;
|
||||
|
||||
@override
|
||||
JSON toJson() {
|
||||
|
||||
Reference in New Issue
Block a user