diff --git a/changelog/unreleased/bugfix-print-backend-version b/changelog/unreleased/bugfix-print-backend-version new file mode 100644 index 00000000000..c86de08c9b5 --- /dev/null +++ b/changelog/unreleased/bugfix-print-backend-version @@ -0,0 +1,6 @@ +Bugfix: Print backend version + +We fixed a regression with printing version information to the browser console (the backend version was not showing up anymore). Since loading the public link / user context is blocking the boot process of applications after a [recent PR](https://github.com/owncloud/web/pull/7072) has been merged, we are now able to reliably print the backend version on the first page load after login as well (was not possible before). + +https://github.com/owncloud/web/issues/7272 +https://github.com/owncloud/web/pull/7284 diff --git a/packages/web-runtime/src/index.ts b/packages/web-runtime/src/index.ts index cca96495971..3b9969113a2 100644 --- a/packages/web-runtime/src/index.ts +++ b/packages/web-runtime/src/index.ts @@ -50,7 +50,6 @@ export const bootstrap = async (configurationPath: string): Promise => { } export const renderSuccess = (): void => { - announceVersions({ store }) const applications = Array.from(applicationStore.values()) const instance = new Vue({ el: '#owncloud', @@ -71,6 +70,7 @@ export const renderSuccess = (): void => { if (!newValue || newValue === oldValue) { return } + announceVersions({ store }) await announceApplicationsReady({ applications }) }, {