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

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 });