diff options
Diffstat (limited to 'apps/files_versions/src/versionstabview.js')
-rw-r--r-- | apps/files_versions/src/versionstabview.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_versions/src/versionstabview.js b/apps/files_versions/src/versionstabview.js index c0519aae36f..7ae5ad0fb2f 100644 --- a/apps/files_versions/src/versionstabview.js +++ b/apps/files_versions/src/versionstabview.js @@ -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 */ |