How do I implement a “if statement” to only load data once it has arrived? Apologies if that is convoluting in any way. Take a look at this code: