Remove Page Tool not working

Detailed description of issue
The Remove page button in Navigation Panel is not working

Expected behaviour
The Confirmation Popup should close and the page should be remove

Link to document
This issue is coming in the demo as well : https://pdfjs.express/demo

Code snippet
Error coming in Console :
Uncaught TypeError: Cannot read property ‘then’ of undefined
at Object.onConfirm (webviewer-ui.min.js:formatted:57274)
at webviewer-ui.min.js:formatted:67683
at Object.l (webviewer-ui.min.js:formatted:16219)
at p (webviewer-ui.min.js:formatted:16237)
at webviewer-ui.min.js:formatted:16246
at v (webviewer-ui.min.js:formatted:16256)
at at (webviewer-ui.min.js:formatted:17007)
at ot (webviewer-ui.min.js:formatted:16996)
at lt (webviewer-ui.min.js:formatted:17018)
at pt (webviewer-ui.min.js:formatted:17096)

Line which is giving error:
onConfirm: function() {
return Ct.removePages(a).then((function() {
r(Ca.setSelectedPageThumbnails([]))
}
))

@Logan Could you help here please

@Logan could you share the patch details. is it in 7.0.1?

Hi,

This feature is not actually supported in PDF.js Express (that part of the UI should not be there).

We just released a patch for this actually but have not updated the demo on the website to that version yet. We will do that shortly.

Thanks for the report,

Logan