Skip to content

Commit

Permalink
Align API with recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomer Shalev committed Mar 23, 2020
1 parent 0109b58 commit 0e3dc09
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/FrontpageComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<script>
import { mapGetters } from 'quasar-app-extension-geolocation/src/store'
import { mapGeolocationGetters } from 'quasar-app-extension-geolocation/src/store'
import GeolocationPermissionBanner from './GeolocationPermissionBanner'
import SampleGeolocationButton from './SampleGeolocationButton'
Expand All @@ -24,7 +24,7 @@ export default {
}
},
computed: {
...mapGetters([
...mapGeolocationGetters([
'hasPosition'
])
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/GeolocationPermissionBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</template>

<script>
import { mapGetters } from 'quasar-app-extension-geolocation/src/store'
import { mapGeolocationGetters } from 'quasar-app-extension-geolocation/src/store'
export default {
computed: {
Expand Down Expand Up @@ -69,7 +69,7 @@ export default {
}
return null
},
...mapGetters([
...mapGeolocationGetters([
'isPermissionGranted',
'isPermissionPrompt',
'isPermissionDenied',
Expand Down
6 changes: 3 additions & 3 deletions src/components/SampleGeolocationButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<script>
import { mapActions, mapGetters } from 'quasar-app-extension-geolocation/src/store'
import { mapGeolocationActions, mapGeolocationGetters } from 'quasar-app-extension-geolocation/src/store'
export default {
props: {
Expand Down Expand Up @@ -38,7 +38,7 @@ export default {
_label () {
return this.label || this.hasPosition ? 'Resample' : 'Sample'
},
...mapGetters([
...mapGeolocationGetters([
'isPermissionKnown',
'isPermissionGranted',
'isPermissionPrompt',
Expand Down Expand Up @@ -69,7 +69,7 @@ export default {
this.doQueryPermission()
})
},
...mapActions([
...mapGeolocationActions([
'samplePosition',
'queryPermission'
])
Expand Down
4 changes: 2 additions & 2 deletions src/components/SamplePosition.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</template>

<script>
import { mapGetters } from 'quasar-app-extension-geolocation/src/store'
import { mapGeolocationGetters } from 'quasar-app-extension-geolocation/src/store'
export default {
computed: {
Expand All @@ -36,7 +36,7 @@ export default {
markers () {
return this.centerMapper ? [this.centerMapper] : []
},
...mapGetters([
...mapGeolocationGetters([
'coords',
'latitude',
'longitude',
Expand Down

0 comments on commit 0e3dc09

Please sign in to comment.