Skip to content

Commit

Permalink
fix message type
Browse files Browse the repository at this point in the history
  • Loading branch information
gallayl committed Jun 2, 2024
1 parent 9e24ae1 commit 545e2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/drives-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class DrivesService extends EventHub<{ onFilesystemChanged: DrivesFilesys
private declare readonly socket: WebsocketNotificationsService

private onMessage = ((messageData: any) => {
if ((messageData as any).type === 'fileChange') {
if ((messageData as any).type === 'file-change') {
this.emit('onFilesystemChanged', messageData as DrivesFilesystemChangedEvent)

this.fileListCache.obsoleteRange((fileList) => {
Expand Down

0 comments on commit 545e2f2

Please sign in to comment.