Fix checking if a calendar name is used
This commit is contained in:
parent
cd7b24e836
commit
c7ea5a7463
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue