Changed Notifications to Benachrichtigungen
Correcte getStartetWorkingTimes Functions
This commit is contained in:
@@ -8,7 +8,7 @@ const { isNotificationsSlideoverOpen } = useDashboard()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UDashboardSlideover v-model="isNotificationsSlideoverOpen" title="Notifications">
|
||||
<UDashboardSlideover v-model="isNotificationsSlideoverOpen" title="Benachrichtigungen">
|
||||
<!-- <NuxtLink v-for="notification in notifications" :key="notification.id" :to="`/inbox?id=${notification.id}`" class="p-3 rounded-md hover:bg-gray-50 dark:hover:bg-gray-800/50 cursor-pointer flex items-center gap-3 relative">
|
||||
<UChip color="red" :show="!!notification.unread" inset>
|
||||
<UAvatar v-bind="notification.sender.avatar" :alt="notification.sender.name" size="md" />
|
||||
|
||||
@@ -858,7 +858,7 @@ export const useDataStore = defineStore('data', () => {
|
||||
})
|
||||
|
||||
const getStartedWorkingTimes = computed(() => () => {
|
||||
return workingtimes.value.filter(i => !i.end)
|
||||
return workingtimes.value.filter(i => !i.endDate)
|
||||
})
|
||||
|
||||
const getStockByProductId = computed(() => (productId) => {
|
||||
|
||||
Reference in New Issue
Block a user