mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-13 20:12:16 -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 int? id;
|
||||||
final String name;
|
final String name;
|
||||||
final String? slug;
|
final String? slug;
|
||||||
final String? match;
|
final String match;
|
||||||
final MatchingAlgorithm matchingAlgorithm;
|
final MatchingAlgorithm matchingAlgorithm;
|
||||||
final bool? isInsensitive;
|
final bool? isInsensitive;
|
||||||
final int? documentCount;
|
final int? documentCount;
|
||||||
@@ -26,7 +26,7 @@ abstract class Label extends Equatable implements Comparable {
|
|||||||
this.id,
|
this.id,
|
||||||
required this.name,
|
required this.name,
|
||||||
this.matchingAlgorithm = MatchingAlgorithm.defaultValue,
|
this.matchingAlgorithm = MatchingAlgorithm.defaultValue,
|
||||||
this.match,
|
this.match = "",
|
||||||
this.isInsensitive = true,
|
this.isInsensitive = true,
|
||||||
this.documentCount,
|
this.documentCount,
|
||||||
this.slug,
|
this.slug,
|
||||||
@@ -37,7 +37,7 @@ abstract class Label extends Equatable implements Comparable {
|
|||||||
Label copyWith({
|
Label copyWith({
|
||||||
int? id,
|
int? id,
|
||||||
String? name,
|
String? name,
|
||||||
String? match,
|
String match,
|
||||||
MatchingAlgorithm? matchingAlgorithm,
|
MatchingAlgorithm? matchingAlgorithm,
|
||||||
bool? isInsensitive,
|
bool? isInsensitive,
|
||||||
int? documentCount,
|
int? documentCount,
|
||||||
|
|||||||
Reference in New Issue
Block a user