mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 10:08:02 -06:00
BUGFIX conditional none matching algorithm based on API version
This commit is contained in:
@@ -108,7 +108,7 @@ class LocalMockApiServer {
|
||||
"name": body?['name'],
|
||||
"color": body?['color'],
|
||||
"text_color": "#000000",
|
||||
"match": "",
|
||||
"match": body?['match'],
|
||||
"matching_algorithm": body?['matching_algorithm'],
|
||||
"is_insensitive": body?['is_insensitive'],
|
||||
"is_inbox_tag": false,
|
||||
@@ -133,7 +133,7 @@ class LocalMockApiServer {
|
||||
"name": body?['name'],
|
||||
"color": body?['color'],
|
||||
"text_color": "#000000",
|
||||
"match": "",
|
||||
"match": body?['match'],
|
||||
"matching_algorithm": body?['matching_algorithm'],
|
||||
"is_insensitive": body?['is_insensitive'],
|
||||
"is_inbox_tag": false,
|
||||
|
||||
@@ -37,7 +37,7 @@ abstract class Label extends Equatable implements Comparable {
|
||||
Label copyWith({
|
||||
int? id,
|
||||
String? name,
|
||||
String match,
|
||||
String? match,
|
||||
MatchingAlgorithm? matchingAlgorithm,
|
||||
bool? isInsensitive,
|
||||
int? documentCount,
|
||||
|
||||
Reference in New Issue
Block a user