I find the crew's decision to proceed to the nearest airport to be the exemplary call. They were about in the middle of the flight, and might have elected to fly to destination, but chose to go direct to the nearest airport. Good on them.
When smoke and/or fire show up, getting on the ground ASAP is the overriding factor. If you can get it on the ground in 2 hours, versus 2 hours and five minutes by continuing to destination, the right call is to choose the 2 hours option.
When you're on fire, or if you have smoke, find the best, most immediate concrete you can. If I've learned anything over the years, it is that. Seconds matter.