diff --git a/_doc/ToDo.md b/_doc/ToDo.md index 5712e6d..ae6c5fd 100644 --- a/_doc/ToDo.md +++ b/_doc/ToDo.md @@ -165,4 +165,25 @@ fix availability repeat checks -- - да оправя дневните разположения -- да се взимат в предвид повтарящите се разопложения \ No newline at end of file +- да се взимат в предвид повтарящите се разопложения + +-------------------------------------------------------------------- + +График - само седмица + Администратор + вестители - всички - мъж + + + -- форма за обратна връзка + -- моя график + + + -- add publish functionality to shifts + + # caendar/admin + fix the problem where availability info is not present on calendar - can't destinguish between no availability(not active/imported) and changed availability + second add/delete fails + # my calenda + sometimes delete from mycalendar fails + saturday shifts start at 12:00 / dymamic + diff --git a/components/calendar/ShiftComponent.tsx b/components/calendar/ShiftComponent.tsx index be04647..2638fac 100644 --- a/components/calendar/ShiftComponent.tsx +++ b/components/calendar/ShiftComponent.tsx @@ -85,6 +85,8 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a // if (onPublisherSelect) { // onPublisherSelect(publisher); // } + + common.copyToClipboard(null, publisher.firstName + ' ' + publisher.lastName); } const removeAssignment = async (id) => { @@ -124,6 +126,8 @@ function ShiftComponent({ shift, onShiftSelect, isSelected, onPublisherSelect, a + + return (