Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 07958619 authored by Georg Ehrke's avatar Georg Ehrke Committed by GitHub
Browse files

Merge pull request #2507 from nextcloud/backport/2497/stable2.0

[stable2.0] Fix read-only property of fullcalendar event sources
parents 1d65e4dd fc0ee1e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ export default function(store) {
			},
		}

		if (calendar.isReadOnly) {
		if (calendar.readOnly) {
			source.editable = false
		}

+6 −6
Original line number Diff line number Diff line
@@ -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()