Fix crash if the details tab in the job view is clicked with no jobs present
This MR contains a bug fix for a crash: if no jobs are defined and the user clicks in (or types into) the empty "Details" tab on the left side beneath the job selector, the application crashed.