From 89b388e470ad1b3a313f3231d682fd39218f6ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 6 Dec 2021 11:03:39 +0100 Subject: [PATCH] :fire: Remove error message --- packages/editor-ui/src/views/NodeView.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 1b7520bc9c..114b8bd68d 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -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(