@uppy/google-photos
Advanced tools
Comparing version 0.2.0-beta.1 to 0.2.0-beta.2
# @uppy/google-photos | ||
## 0.2.0-beta.2 | ||
Released: 2024-06-27 | ||
Included in: Uppy v4.0.0-beta.13 | ||
- @uppy/google-photos: fix various issues (Mikael Finstad / #5275) | ||
## 0.1.0 | ||
@@ -4,0 +11,0 @@ |
@@ -8,3 +8,3 @@ import { UIPlugin } from '@uppy/core'; | ||
const packageJson = { | ||
"version": "0.2.0-beta.1" | ||
"version": "0.2.0-beta.2" | ||
}; | ||
@@ -78,3 +78,8 @@ import locale from "./locale.js"; | ||
render(state) { | ||
if (this.getPluginState().files.length && !this.getPluginState().folders.length) { | ||
const { | ||
partialTree, | ||
currentFolderId | ||
} = this.getPluginState(); | ||
const foldersInThisFolder = partialTree.filter(i => i.type === 'folder' && i.parentId === currentFolderId); | ||
if (foldersInThisFolder.length === 0) { | ||
return this.view.render(state, { | ||
@@ -81,0 +86,0 @@ viewType: 'grid', |
{ | ||
"name": "@uppy/google-photos", | ||
"description": "The Google Photos plugin for Uppy lets users import photos from their Google Photos account", | ||
"version": "0.2.0-beta.1", | ||
"version": "0.2.0-beta.2", | ||
"license": "MIT", | ||
@@ -24,11 +24,11 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^4.0.0-beta.7", | ||
"@uppy/provider-views": "^4.0.0-beta.9", | ||
"@uppy/utils": "^6.0.0-beta.8", | ||
"@uppy/companion-client": "^4.0.0-beta.8", | ||
"@uppy/provider-views": "^4.0.0-beta.10", | ||
"@uppy/utils": "^6.0.0-beta.9", | ||
"preact": "^10.5.13" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.10" | ||
"@uppy/core": "^4.0.0-beta.11" | ||
}, | ||
"stableVersion": "0.1.0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21156
239