This commit is contained in:
seb
2026-10-17 23:32:21 +02:00
parent 0d11dd5014
commit b8f226bd39
5 changed files with 15 additions and 6 deletions

View File

@@ -407,7 +407,7 @@ class DeliverySearchField extends PureComponent {
const stats = deliveryAutomat.getChunkStats?.();
this.state = {
input: s.filter ?? '',
onlyUnbooked: s.onlyUnbooked ?? false,
onlyUnbooked: s.onlyUnbooked ?? true,
seekMonths: s.seekMonths ?? 0,
seekYears: s.seekYears ?? 0,
negativeSeekMonths: s.negativeSeekMonths ?? 0,
@@ -420,7 +420,7 @@ class DeliverySearchField extends PureComponent {
componentDidMount() {
this.unsub = deliveryAutomat.subscribe(this, (state) => ({
input: state.filter ?? '',
onlyUnbooked: state.onlyUnbooked ?? false,
onlyUnbooked: state.onlyUnbooked ?? true,
seekMonths: state.seekMonths ?? 0,
seekYears: state.seekYears ?? 0,
negativeSeekMonths: state.negativeSeekMonths ?? 0,