mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Do not load versions tab view if the files app is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
83d46efefd
commit
def287cdb7
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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue