Skip to content

fix: utils.getPlaybooks is called before Babele is ready

DjLeChuck requested to merge DjLeChuck/pbta:fix-playbooks-with-babele into master

utils.getPlaybooks is called during the ready hook.

As he load data from compendiums, it’s not working well when using Babele because Babele is not ready yet, so translations are not loaded.

With this fix, if Babele is present we use it’s babele.ready hook, but if he’s not, nothing change.

Merge request reports