BUGFIX conditional none matching algorithm based on API version

This commit is contained in:
konrad.lys@eu.equinix.com
2023-05-30 08:04:27 +02:00
parent 46d0bc356b
commit 1b2bf92cfd
4 changed files with 49 additions and 57 deletions

View File

@@ -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,

View File

@@ -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,