Merge pull request #28546 from nextcloud/backport/28532/stable21

[stable21] Do not load versions tab view if the files app is not available
This commit is contained in:
MichaIng 2021-08-21 02:08:01 +02:00 committed by GitHub
commit 2fccbf84da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -12,6 +12,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
*/