diff --git a/changelog/unreleased/3376 b/changelog/unreleased/3376 new file mode 100644 index 00000000000..d34c2e257f1 --- /dev/null +++ b/changelog/unreleased/3376 @@ -0,0 +1,6 @@ +Bugfix: Fix name of selected extension on broken apps + +With the edge case of a broken app in config.json, the top bar is broken, because appInfo can't be loaded. +We made ocis-web more robust by just showing the extension id in the top bar when the appInfo is not available. + +https://github.com/owncloud/phoenix/pull/3376 diff --git a/src/components/Top-Bar.vue b/src/components/Top-Bar.vue index 8a4ff0da7ef..bfacbaa76ef 100644 --- a/src/components/Top-Bar.vue +++ b/src/components/Top-Bar.vue @@ -80,7 +80,10 @@ export default { }, currentExtensionName() { - return this.$gettext(this.apps[this.currentExtension].name) + if (this.apps[this.currentExtension]) { + return this.$gettext(this.apps[this.currentExtension].name) + } + return this.currentExtension } }, methods: {