mirror of https://github.com/nextcloud/calendar
Fix read-only property of fullcalendar event sources
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
80bf6f0011
commit
ec69fa3db5
|
@ -72,7 +72,7 @@ export default function(store) {
|
|||
},
|
||||
}
|
||||
|
||||
if (calendar.isReadOnly) {
|
||||
if (calendar.readOnly) {
|
||||
source.editable = false
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: false
|
||||
readOnly: false
|
||||
}
|
||||
|
||||
generateTextColorForHex
|
||||
|
@ -69,7 +69,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: true
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
generateTextColorForHex
|
||||
|
@ -104,7 +104,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: true
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
const getTimezoneForId = jest.fn()
|
||||
|
@ -174,7 +174,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: true
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
const getTimezoneForId = jest.fn()
|
||||
|
@ -239,7 +239,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: true
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
const getTimezoneForId = jest.fn()
|
||||
|
@ -309,7 +309,7 @@ describe('fullcalendar/eventSource test suite', () => {
|
|||
const calendar = {
|
||||
id: 'calendar-id-123',
|
||||
color: '#ff00ff',
|
||||
isReadOnly: true
|
||||
readOnly: true
|
||||
}
|
||||
|
||||
const getTimezoneForId = jest.fn()
|
||||
|
|
Loading…
Reference in New Issue