Skip to content

High performance self-hosted photo and video management solution.

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

Alex1fd00d826233
diff --git a/web/src/lib/stores/assets.store.ts b/web/src/lib/stores/assets.store.ts
index 7fd82b4c3a..763d5b1874 100644
--- a/web/src/lib/stores/assets.store.ts
+++ b/web/src/lib/stores/assets.store.ts
@@ -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 });