Start the view to now
This commit is contained in:
parent
4bbe0cb856
commit
e967664769
1 changed files with 3 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
||||||
let openModal = false;
|
let openModal = false;
|
||||||
const toggle = () => (openModal = !openModal);
|
const toggle = () => (openModal = !openModal);
|
||||||
const mobile = window.innerWidth < 765;
|
const mobile = window.innerWidth < 765;
|
||||||
|
const now = new Date();
|
||||||
|
|
||||||
let calendar;
|
let calendar;
|
||||||
|
|
||||||
|
@ -47,7 +48,8 @@
|
||||||
height: '100%',
|
height: '100%',
|
||||||
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
|
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
|
||||||
nowIndicator: true,
|
nowIndicator: true,
|
||||||
now: new Date(),
|
now: now,
|
||||||
|
scrollTime: now.toLocaleTimeString(),
|
||||||
eventClick: info => {
|
eventClick: info => {
|
||||||
openModal = true;
|
openModal = true;
|
||||||
event.set(info.event);
|
event.set(info.event);
|
||||||
|
|
Loading…
Reference in a new issue