diff --git a/client/src/components/TrainerOrderPopup.vue b/client/src/components/TrainerOrderPopup.vue index 4c2bce7..681dd8d 100644 --- a/client/src/components/TrainerOrderPopup.vue +++ b/client/src/components/TrainerOrderPopup.vue @@ -62,11 +62,6 @@ export default { }, computed: { showButtons(): boolean { - console.log(this.order.status !== 'CancelledByTrainer' , this.order.status !== 'CancelledByUser' , (new Date(this.order.startDate.split("Z")[0])).getTime() > (new Date()).getTime()); - console.log(this.order.startDate.split("Z")[0]); - console.log(1, new Date(this.order.startDate), new Date(this.order.startDate.split("Z")[0])); - - console.log(new Date(this.order.startDate.split("Z")[0]), new Date()); return this.order.status !== 'CancelledByTrainer' && this.order.status !== 'CancelledByUser' && (new Date(this.order.startDate.split("Z")[0])).getTime() > (new Date()).getTime(); } }, diff --git a/client/src/components/UserOrderPopup.vue b/client/src/components/UserOrderPopup.vue index f9feb83..337855d 100644 --- a/client/src/components/UserOrderPopup.vue +++ b/client/src/components/UserOrderPopup.vue @@ -62,11 +62,6 @@ export default { }, computed: { showButtons(): boolean { - console.log(this.order.status !== 'CancelledByTrainer' , this.order.status !== 'CancelledByUser' , (new Date(this.order.startDate.split("Z")[0])).getTime() > (new Date()).getTime()); - console.log(this.order.startDate.split("Z")[0]); - console.log(1, new Date(this.order.startDate), new Date(this.order.startDate.split("Z")[0])); - - console.log(new Date(this.order.startDate.split("Z")[0]), new Date()); return this.order.status !== 'CancelledByTrainer' && this.order.status !== 'CancelledByUser' && (new Date(this.order.startDate.split("Z")[0])).getTime() > (new Date()).getTime(); } },