From c7ea5a74637e96d5b097635ab90f174cea41b228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Fri, 2 Nov 2018 09:50:14 +0100 Subject: [PATCH] Fix checking if a calendar name is used --- src/store/calendars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/calendars.js b/src/store/calendars.js index 7b97ecee..146d44b0 100644 --- a/src/store/calendars.js +++ b/src/store/calendars.js @@ -156,7 +156,7 @@ const getters = { */ isCalendarNameUsed: state => (name, id) => { return state.calendars.some(calendar => { - return (calendar.displayname === name && calendar.id !== id) + return (calendar.displayName === name && calendar.id !== id) }) },