-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid errors on backup page on old flagship app #2994
Conversation
zatteo
commented
Sep 29, 2023
BundleMonUnchanged files (19)
No change in files bundle size Unchanged groups (8)
Final result: ✅ View report in BundleMon website ➡️ |
import LastBackupStatus from './components/LastBackupStatus' | ||
import AllowPermissionsModal from './components/AllowPermissionsModal' | ||
import { BackupError } from './components/BackupError' | ||
|
||
import { BackupActionsProvider } from 'photos/ducks/backup/hooks/useBackupActions' | ||
import { isFlagshipApp } from 'cozy-device-helper' | ||
|
||
const BackupPage = () => { | ||
const BackupPageContent = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Extract this component into a separate file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component will be used only here so I prefer to keep it here.
A window.cozy.backup_available flag was sent by the flagship app but not used. So errors were shown because intent were not available on old flagship app version.
589896b
to
eaa79ae
Compare