mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 06:07:57 -06:00
BUGFIX make match field in label required
This commit is contained in:
@@ -15,7 +15,7 @@ abstract class Label extends Equatable implements Comparable {
|
||||
final int? id;
|
||||
final String name;
|
||||
final String? slug;
|
||||
final String? match;
|
||||
final String match;
|
||||
final MatchingAlgorithm matchingAlgorithm;
|
||||
final bool? isInsensitive;
|
||||
final int? documentCount;
|
||||
@@ -26,7 +26,7 @@ abstract class Label extends Equatable implements Comparable {
|
||||
this.id,
|
||||
required this.name,
|
||||
this.matchingAlgorithm = MatchingAlgorithm.defaultValue,
|
||||
this.match,
|
||||
this.match = "",
|
||||
this.isInsensitive = true,
|
||||
this.documentCount,
|
||||
this.slug,
|
||||
@@ -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