Version 1.1
This commit is contained in:
parent
b706f83f95
commit
0b3a035811
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
*/build/
|
||||
|
||||
**/node_modules/
|
||||
**/build/
|
||||
.DS_Store
|
||||
.env
|
||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -6,7 +6,8 @@ import {
|
||||
SlotInfo,
|
||||
EventProps,
|
||||
} from 'react-big-calendar';
|
||||
import moment from 'moment';
|
||||
import moment from 'moment-timezone';
|
||||
moment.tz.setDefault('Etc/GMT+12');
|
||||
import 'react-big-calendar/lib/css/react-big-calendar.css';
|
||||
import ListActionsPopover from './ListActionsPopover';
|
||||
import Link from 'next/link';
|
||||
@ -119,6 +120,10 @@ const BigCalendar = ({
|
||||
selectable={hasCreatePermission}
|
||||
onSelectSlot={handleCreateEventAction}
|
||||
onRangeChange={onRangeChange}
|
||||
step={20}
|
||||
timeslots={3}
|
||||
min={new Date(1970, 1, 1, 8)}
|
||||
max={new Date(1970, 1, 1, 16)}
|
||||
scrollToTime={scrollToTime}
|
||||
components={{
|
||||
event: (props) => (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user