arkokoley/pdfvuer

The "loading" flag should be set when an error is emitted

Drumstix42 opened this issue · 1 comments

Currently if a PDF document fails to load (missing file, CORS issue, etc), then the loading flag remains true and the loading slot continues to display.

I recommend when the error is triggered via $emit that the loading flag also be set to false.
This isn't quite a bug, but a gap in functionality (in my opinion).

Thanks for the fix!