refactor(files): remove custom page title handling

This conflicts with what `NcAppContent` is already doing.
So we should just remove it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-06-18 12:41:37 +02:00
parent dda91c415f
commit e21b28a296
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -439,13 +439,6 @@ export default defineComponent({
},
watch: {
/**
* Update the window title to match the page heading
*/
pageHeading() {
document.title = `${this.pageHeading} - ${getCapabilities().theming?.name ?? 'Nextcloud'}`
},
/**
* Handle rendering the custom empty view
* @param show The current state if the custom empty view should be rendered