mikedmor / OctoPrint_MultiCam

Extends the Control tab of OctoPrint, allowing the ability to switch between multiple webcam feeds.
45 stars 19 forks source link

Disabling "Enable webcam support" breaks #64

Closed LazeMSS closed 10 months ago

LazeMSS commented 11 months ago

having disabled classic webcam plugin and the disabling "Enable webcam support" from Settings -> Features break and throws this in console:

helpers.js:1473 Error calling onAfterBinding on view model MultiCamViewModel : TypeError: Cannot read properties of null (reading 'children') at MultiCamViewModel.self.onAfterBinding (http://192.168.1.31/plugin/multicam/static/js/multicam.js:52:72) at callViewModelIf (http://192.168.1.31/static/js/app/helpers.js:1460:34) at callViewModel (http://192.168.1.31/static/js/app/helpers.js:1402:5) at http://192.168.1.31/static/js/app/main.js:902:21 at Pn (http://192.168.1.31/static/js/lib/lodash.min.js:9:530) at Function. (http://192.168.1.31/static/js/lib/lodash.min.js:30:66) at bindViewModels (http://192.168.1.31/static/js/app/main.js:750:15)