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:
parent
d4cdd590bd
commit
1fd00d8262
1 changed files with 3 additions and 2 deletions
|
@ -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 });
|
||||
|
|
Loading…
Reference in a new issue