You can have a look there : YunoHost switch box in the lower right side blocks apps UI elements
On my side, I commented everything in
/etc/nginx/conf.d/yunohost_panel.conf.inc
So the js is not even present in the pages.I’ll see if this is overrided when YunoHost is updated
It was months ago and no update broke it