Just map across calendars
values to generate eventSources
This commit is contained in:
parent
c1ebedafc1
commit
95aa80afb1
@ -47,7 +47,7 @@ export default class App extends Vue {
|
||||
startTime: '10:00',
|
||||
endTime: '21:00',
|
||||
},
|
||||
eventSources: Object.entries(calendars).map(([name, id], idx) => {
|
||||
eventSources: Object.values(calendars).map((id, idx) => {
|
||||
return {
|
||||
googleCalendarId: id,
|
||||
color: colors[idx],
|
||||
|
Loading…
Reference in New Issue
Block a user