mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 08:01:18 +00:00
Add "clearable" badge
This commit is contained in:
@@ -106,6 +106,13 @@ export class DateDropdownComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
}
|
||||
|
||||
reset() {
|
||||
this.dateBefore = null
|
||||
this.dateAfter = null
|
||||
this.relativeDate = null
|
||||
this.onChange()
|
||||
}
|
||||
|
||||
setRelativeDate(rd: RelativeDate) {
|
||||
this.dateBefore = null
|
||||
this.dateAfter = null
|
||||
|
||||
Reference in New Issue
Block a user