Opening an unsupported mime file freezes the UI #1579
Labels
0. Needs triage
Pending approval or rejection. This issue is pending approval.
bug
Something isn't working
good first issue
Good for newcomers
Describe the bug
Opening an unsupported mime file from the file view freeze on the wait icon, with no error message displayed to the user
To Reproduce
Run the following in console while browsing files:
The console reports:
Probable fix
Seems that in Viewer.vue - https://github.com/nextcloud/viewer/blame/22e47429df029eeb2f36e2361f49e59768dec725/src/views/Viewer.vue#L559 , the use of the handler variable should be swapped with its verification:
The text was updated successfully, but these errors were encountered: