fixed issue in date range

pull/1097/head
smit95tpatel 2021-12-20 15:59:38 +05:30
parent cc92b03dec
commit 97767e8bb8
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@
role="group" role="group"
> >
<button <button
type="submit" type="button"
class="btn btn-primary mr-1" class="btn btn-primary mr-1"
@click.prevent="handleFilterSearch" @click.prevent="handleFilterSearch"
> >
@ -168,7 +168,7 @@ export default {
computed: { computed: {
...mapState([ 'services' ]), ...mapState([ 'services' ]),
endConfig: function (){ endConfig: function (){
return { ...(this.params.start && { minDate: this.params.start }) }; return { minDate: this.params.start ? this.params.start : null };
} }
}, },
}; };