Skip to content

Commit 0898f9a

Browse files
committed
fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent 2c9f595 commit 0898f9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/files/src/views/FilesList.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ export default defineComponent({
449449
* Update the window title to match the page heading
450450
*/
451451
pageHeading() {
452-
document.title = `${this.pageHeading} - ${getCapabilities().theming?.productName ?? 'Nextcloud'}`
452+
console.debug('aaaaaaaaaaaaaaaaaaaaa pagHeading change', getCapabilities().theming)
453+
document.title = `${this.pageHeading} - ${getCapabilities().theming?.name ?? 'Nextcloud'}`
453454
},
454455
455456
currentView(newView, oldView) {
@@ -494,7 +495,7 @@ export default defineComponent({
494495
495496
// Reload on settings change
496497
this.unsubscribeStoreCallback = this.userConfigStore.$subscribe(() => this.fetchContent(), { deep: true })
497-
498+
498499
// Finally, fetch the current directory contents
499500
await this.fetchContent()
500501
if (this.fileId) {

0 commit comments

Comments
 (0)