Fix table hidden on empty folder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
e51d1867c3
commit
b662977862
1 changed files with 2 additions and 1 deletions
|
@ -2780,8 +2780,9 @@
|
|||
var permissions = this.getDirectoryPermissions();
|
||||
var isCreatable = (permissions & OC.PERMISSION_CREATE) !== 0;
|
||||
this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
|
||||
this.$el.find('#emptycontent').toggleClass('hidden', !this.isEmpty);
|
||||
this.$el.find('#emptycontent .uploadmessage').toggleClass('hidden', !isCreatable || !this.isEmpty);
|
||||
this.$el.find('#filestable thead th').toggleClass('hidden', this.isEmpty);
|
||||
this.$el.find('#filestable').toggleClass('hidden', this.isEmpty);
|
||||
},
|
||||
/**
|
||||
* Shows the loading mask.
|
||||
|
|
Loading…
Reference in a new issue