mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +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() {
|
connect() {
|
||||||
this.unsubscribers.push(
|
this.unsubscribers.push(
|
||||||
websocketEvents.on('on_upload_success', (asset) => {
|
websocketEvents.on('on_upload_success', (_) => {
|
||||||
this.addPendingChanges({ type: 'add', values: [asset] });
|
// TODO!: Temporarily disable to avoid flashing effect of the timeline
|
||||||
|
// this.addPendingChanges({ type: 'add', values: [asset] });
|
||||||
}),
|
}),
|
||||||
websocketEvents.on('on_asset_trash', (ids) => {
|
websocketEvents.on('on_asset_trash', (ids) => {
|
||||||
this.addPendingChanges({ type: 'trash', values: ids });
|
this.addPendingChanges({ type: 'trash', values: ids });
|
||||||
|
|
Loading…
Reference in a new issue