Skip to content

Commit

Permalink
fixup! chore: migrate from Vuex to Pinia
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Jun 24, 2024
1 parent e55160d commit 7080161
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/AppNavigation/Settings/ImportScreenRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import usePrincipalsStore from '../../../store/principals.js'
import useImportFilesStore from '../../../store/importFiles.js'
import useCalendarsStore from '../../../store/calendars.js'
import { mapStores } from 'pinia'

Check warning on line 24 in src/components/AppNavigation/Settings/ImportScreenRow.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/Settings/ImportScreenRow.vue#L23-L24

Added lines #L23 - L24 were not covered by tests
import Vue from 'vue'

export default {
name: 'ImportScreenRow',
Expand Down
4 changes: 2 additions & 2 deletions src/store/calendarObjectInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -1802,7 +1802,7 @@ export default defineStore('calendarObjectInstance', {
calendarObjectInstance.startDate.getDate(),
23,
59,
59
59,
)
break

Expand All @@ -1815,7 +1815,7 @@ export default defineStore('calendarObjectInstance', {
calendarObjectInstance.startDate.getDate(),
23,
59,
59
59,
)
break
}
Expand Down
2 changes: 1 addition & 1 deletion src/store/calendars.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export default defineStore('calendars', {
this.deleteFetchedTimeRangeFromCalendarMutation({

Check warning on line 440 in src/store/calendars.js

View check run for this annotation

Codecov / codecov/patch

src/store/calendars.js#L440

Added line #L440 was not covered by tests
calendar: vobject.calendar,
fetchedTimeRangeId: timeRange.id,
}
},
)
fetchedTimeRangesStore.removeTimeRange({

Check warning on line 445 in src/store/calendars.js

View check run for this annotation

Codecov / codecov/patch

src/store/calendars.js#L445

Added line #L445 was not covered by tests
timeRangeId: timeRange.id,
Expand Down

0 comments on commit 7080161

Please sign in to comment.