f4e623b3e7
There is an edge case where we do not wait for all promises before rendering a template. This can generate "failed to pre-fetch the template" JS errors.