Skip to content

Commit

Permalink
Merge pull request #7284 from owncloud/fix-printing-backend-version
Browse files Browse the repository at this point in the history
Fix printing backend version to browser console
  • Loading branch information
kulmann authored Jul 18, 2022
2 parents 9470143 + 0d7462f commit 9b0103e
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 9b0103e

Please sign in to comment.