1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

chore(web): resolve timeline flashing temporarily (#12088)

This commit is contained in:
Alex 2024-08-27 22:31:32 -05:00 committed by GitHub
parent d4cdd590bd
commit 1fd00d8262
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -253,8 +253,9 @@ export class AssetStore {
connect() {
this.unsubscribers.push(
websocketEvents.on('on_upload_success', (asset) => {
this.addPendingChanges({ type: 'add', values: [asset] });
websocketEvents.on('on_upload_success', (_) => {
// TODO!: Temporarily disable to avoid flashing effect of the timeline
// this.addPendingChanges({ type: 'add', values: [asset] });
}),
websocketEvents.on('on_asset_trash', (ids) => {
this.addPendingChanges({ type: 'trash', values: ids });