From 95aa80afb1e8dce67a27a764e146781af30afff8 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 8 May 2021 15:28:05 -0400 Subject: [PATCH] Just map across `calendars` values to generate eventSources --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 6f29627..e63fdc7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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],