Skip to content

Commit

Permalink
Fix printing backend version to browser console
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Jul 18, 2022
1 parent 463e26c commit 0d7462f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-print-backend-version
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/web-runtime/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export const bootstrap = async (configurationPath: string): Promise<void> => {
}

export const renderSuccess = (): void => {
announceVersions({ store })
const applications = Array.from(applicationStore.values())
const instance = new Vue({
el: '#owncloud',
Expand All @@ -71,6 +70,7 @@ export const renderSuccess = (): void => {
if (!newValue || newValue === oldValue) {
return
}
announceVersions({ store })
await announceApplicationsReady({ applications })
},
{
Expand Down

0 comments on commit 0d7462f

Please sign in to comment.