cozy / cozy-photos-v3

Cozy Photos app for Cozy Cloud
GNU Affero General Public License v3.0
1 stars 9 forks source link

fix: update timeline store after addition to album #124

Closed y-lohse closed 7 years ago

y-lohse commented 7 years ago

The root cause is that after adding a photo to an album, it's references in the store become outdated. I've added a call that re-fetches the photos after they've been added so the store stays correct at all time. The downside is that this needs to be done whenever an album changes, which currently only happens in AddToAlbumModal, but that's bound to change. @goldoraf since you're working on this, I'm curious to hear what you think.

y-lohse commented 7 years ago

(2) Mettre une photo dans la corbeille depuis la timeline

goldoraf commented 7 years ago

It looks good enough for now: like you say, I'm working on it :smile: