diff --git a/src/content/admin/WorshipManagement.vue b/src/content/admin/WorshipManagement.vue
index 9c0a3f3..32be261 100644
--- a/src/content/admin/WorshipManagement.vue
+++ b/src/content/admin/WorshipManagement.vue
@@ -47,7 +47,7 @@
- -
+
-
{{ worship.title }} - {{ formatDate(worship.date) }}, {{ formatTime(worship.time) }}
@@ -169,6 +169,11 @@ export default {
getEventPlaceName(eventPlaceId) {
const place = this.eventPlaces.find(place => place.id === eventPlaceId);
return place ? place.name : 'Unbekannter Ort';
+ },
+ dateIsLowerCurrentDate(date) {
+ const currentDate = new Date();
+ const inputDate = new Date(date);
+ return inputDate < currentDate;
}
}
};
@@ -236,4 +241,12 @@ li:hover .tooltip {
visibility: visible;
opacity: 1;
}
+
+li > span {
+ flex: 1;
+}
+
+.old-items {
+ color: #aaa;
+}