fixed missing return value in deletedevice

3 jobs for !123 with 94-hotfix-remove-device-needs-a-page-refresh-to-remove-the-device-from-the-list
latest merge request