🔥 Remove error message

This commit is contained in:
Iván Ovejero 2021-12-06 11:03:39 +01:00
parent e64c44291f
commit 89b388e470

View file

@ -2697,8 +2697,12 @@ export default mixins(
await Promise.all(loadPromises);
if (this.defaultLocale !== 'en') {
const headers = await this.restApi().getNodeTranslationHeaders();
addHeaders(headers, this.defaultLocale);
try {
const headers = await this.restApi().getNodeTranslationHeaders();
addHeaders(headers, this.defaultLocale);
} catch (_) {
// no headers available
}
}
} catch (error) {
this.$showError(