mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 04:02:15 +01:00
add timesheets page
This commit is contained in:
@@ -57,6 +57,13 @@ export const useNotificationsStore = defineStore('notifications', () => {
|
||||
'organization_has_no_subscription_but_multiple_members'
|
||||
) {
|
||||
showActionBlockedModal.value = true;
|
||||
} else if (error?.response?.data?.key === 'overlapping_time_entry') {
|
||||
addNotification(
|
||||
'error',
|
||||
'Overlapping time entries are not allowed',
|
||||
error.response?.data?.message ??
|
||||
'This change would overlap with an existing time entry.'
|
||||
);
|
||||
} else {
|
||||
addNotification(
|
||||
'error',
|
||||
|
||||
Reference in New Issue
Block a user