Skip to content

Commit 34edb4f

Browse files
Merge pull request #37 from MarcelRobitaille/fix_36
Fix "Sync calendar" checkbox having no effect
2 parents ba0ae5c + 88a0c2b commit 34edb4f

6 files changed

Lines changed: 15 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [4.0.1] - 2025-08-26
8+
9+
### Fixed
10+
11+
- Fixed "Sync calendar" checkbox having no effect (#36)
12+
713
## [4.0.0] - 2025-08-23
814

915
### Breaking changes

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ This also allows me to decide for myself if my releases are major, minor, or pat
7575

7676
| Google Synchronization version | Google Integration version |
7777
| ------------------------------ | -------------------------- |
78+
| 4.0.1 | 4.1.0 |
7879
| 4.0.0 | 4.1.0 |
7980
| 3.2.0 | 3.2.0 |
8081
| 3.0.0 | 3.1.0 |

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<name>Google Synchronization</name>
55
<summary>Import Google data into Nextcloud</summary>
66
<description><![CDATA[Google Synchronization automatically keeps your Nextcloud calendar up to date with your Google Calendar. Incompatible with Google Integration!]]></description>
7-
<version>4.0.0</version>
7+
<version>4.0.1</version>
88
<licence>agpl</licence>
99
<author>Marcel Robitaille</author>
1010
<namespace>Google</namespace>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google_synchronization",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "A Nextcloud app to continuously synchronize Google Calendar",
55
"main": "index.js",
66
"directories": {

src/components/PersonalSettings.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103
{{ t('google_synchronization', 'Import calendar') }}
104104
</NcButton>
105105
<NcCheckboxRadioSwitch
106-
:checked="cal.isJobRegistered"
106+
:model-value="cal.isJobRegistered"
107107
:loading="loadingSyncCalendar[cal.id]"
108-
@update:checked="onCalendarSyncChange(cal)">
108+
@update:model-value="onCalendarSyncChange(cal)">
109109
{{ t('google_synchronization', 'Sync calendar') }}
110110
</NcCheckboxRadioSwitch>
111111
</div>
@@ -588,7 +588,7 @@ export default {
588588
color: cal.backgroundColor || '#0082c9',
589589
},
590590
}
591-
this.$set(this.loadingSyncCalendar, calId, true)
591+
this.loadingSyncCalendar[calId] = true
592592
const actionMessage = `${desiredState ? '' : 'un'}register`
593593
const successMessage = `Successfully ${actionMessage}ed background job`
594594
const errorMessage = `Failed to ${actionMessage} background job`
@@ -608,7 +608,7 @@ export default {
608608
)
609609
})
610610
.finally(() => {
611-
this.$set(this.loadingSyncCalendar, calId, false)
611+
this.loadingSyncCalendar[calId] = false
612612
})
613613
},
614614
getDriveImportValues(launchLoop = false) {

0 commit comments

Comments
 (0)