cisco-ce / guido

UI helper libraries for Cisco Webex video devices
4 stars 1 forks source link

New feedback listener doesnt override the old #8

Closed tbjolset closed 2 years ago

tbjolset commented 2 years ago

ui('hue-lights').onPanelClicked(() => console.log('panel opened')); ui('hue-lights').onPanelClicked(() => console.log('panel opened again'));

clicking panel now prints 'panel opened'. it should print 'panel opened again'. this is a bad bug, and applies to all feedback listeners, regardless of type need to remove previous similar listener when adding a new