Fixed Google Photo import
This commit is contained in:
parent
dfb0d0c382
commit
174902d58d
@ -38,8 +38,9 @@ export default modalTemplate({
|
|||||||
googlePhotosTokens() {
|
googlePhotosTokens() {
|
||||||
const googleTokens = this.$store.getters['data/googleTokens'];
|
const googleTokens = this.$store.getters['data/googleTokens'];
|
||||||
return Object.entries(googleTokens)
|
return Object.entries(googleTokens)
|
||||||
.filter(([, token]) => token.isPhotos)
|
.map(([, token]) => token)
|
||||||
.sort(([, token1], [, token2]) => token1.name.localeCompare(token2.name));
|
.filter(token => token.isPhotos)
|
||||||
|
.sort((token1, token2) => token1.name.localeCompare(token2.name));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Loading…
Reference in New Issue
Block a user