From 7b14a3c378606366bf74e76f1cfe423ee44974fa Mon Sep 17 00:00:00 2001 From: Filip Borum Poulsen Date: Tue, 25 Apr 2023 12:27:04 +0200 Subject: [PATCH] Removed debug statements --- client/src/components/TrainerOrderPopup.vue | 5 ----- client/src/components/UserOrderPopup.vue | 5 ----- 2 files changed, 10 deletions(-) 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(); } },