Merge pull request #28532 from nextcloud/bugfix/noid/versions-tabview

Do not load versions tab view if the files app is not available
pull/28549/head
Julius Härtl 2021-08-20 19:07:52 +07:00 committed by GitHub
commit 23353ab993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -30,6 +30,10 @@ import ItemTemplate from './templates/item.handlebars'
import Template from './templates/template.handlebars';
(function() {
if (!OCA.Files.DetailTabView) {
// Only register the versions tab within the files app
return
}
/**
* @memberof OCA.Versions
*/