1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-28 09:33:27 +02: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 });