diff --git a/resources/js/views/dashboard/EventList.vue b/resources/js/views/dashboard/EventList.vue index 9c59bdb..376dfef 100644 --- a/resources/js/views/dashboard/EventList.vue +++ b/resources/js/views/dashboard/EventList.vue @@ -182,23 +182,6 @@ const handleSearch = () => { handleLoad(); }; -/** - * Handle user selecting option in action button. - * @param {Event} item The event item. - * @param option - */ -const handleActionButton = (item: Event, option: string): void => { - if (option.length == 0) { - handleEdit(item); - } else if (option.toLowerCase() == "view") { - handleView(item); - } else if (option.toLowerCase() == "duplicate") { - handleDuplicate(item); - } else if (option.toLowerCase() == "delete") { - handleDelete(item); - } -}; - /** * Handle loading the page and list */ @@ -235,7 +218,7 @@ const handleLoad = async () => { row.start_at = new SMDate(row.start_at, { format: "ymd", utc: true, - }).relative(); + }).format("MMM d yyyy, H:mm aa"); } if (row.end_at !== "undefined") { row.end_at = new SMDate(row.end_at, { @@ -395,30 +378,3 @@ const parseEventLocation = (item: Event) => { handleLoad(); - -