• Gergely Ujvari's avatar
    Update selectedAnnotations at annotationUpdate event · b7b448f6
    Gergely Ujvari authored
    If we got annotations selected in the sidebar and delete one, the filter
    doesn't get updated. Alas, if we delete the last selected annotation then
    the sidebar will show zero annotations but the filter will still say:
    "Showing x annotations..."
    
    This fix gives a new listener to the annotationDeleted event and properly
    updates the selected annotation dict and count if needed.
    
    Fix #1591
    b7b448f6
Name
Last commit
Last update
h/static Loading commit data...
tests/js Loading commit data...
karma.config.js Loading commit data...
package.json Loading commit data...