diff --git a/src/views/delivery-option-step-3.vue b/src/views/delivery-option-step-3.vue
index d0fc01f..7fedb98 100644
--- a/src/views/delivery-option-step-3.vue
+++ b/src/views/delivery-option-step-3.vue
@@ -5,7 +5,7 @@
{{ picker.title }}
- p.error).length === 0) {
this.$router.push({path: '/delivery-option-summary'});
}
+ },
+ pickerUpdate(picker) {
+ picker.error = false
+
+ if (this.pickerList.length > 1 && picker.id === 1) {
+
+ const minDateTs = picker.vModel + 24 * 60 * 60 * 1000
+
+ if(minDateTs > this.pickerList[1].vModel){
+ this.pickerList[1].vModel = null
+ }
+
+ this.pickerList[1].minDate = new Date(minDateTs)
+ }
+
}
}
}