Fix checking if a calendar name is used

This commit is contained in:
Raimund Schlüßler 2018-11-02 09:50:14 +01:00
parent cd7b24e836
commit c7ea5a7463
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -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)
})
},