mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Show table header in folder when creating the first project [SCI-9019]
This commit is contained in:
parent
67042ce254
commit
2dc82c9ed9
1 changed files with 3 additions and 3 deletions
|
@ -416,12 +416,12 @@ var ProjectsIndex = (function() {
|
|||
viewContainer.removeClass('no-results no-data');
|
||||
viewContainer.find('.card, .projects-group, .no-results-container, .no-data-container').remove();
|
||||
|
||||
if (viewContainer.find('.list').length) {
|
||||
viewContainer.append(data.cards_html);
|
||||
|
||||
if (viewContainer.hasClass('list')) {
|
||||
viewContainer.find('.table-header').show();
|
||||
}
|
||||
|
||||
viewContainer.append(data.cards_html);
|
||||
|
||||
if (viewContainer.find('.no-results-container').length) {
|
||||
viewContainer.addClass('no-results');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue