sticky bar fix
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{{#if collection.models.length}}
|
||||
{{#hasStickyBar}}
|
||||
{{#if hasStickyBar}}
|
||||
<div class="list-sticky-bar sticked-bar hidden">
|
||||
{{#if hasPagination}}
|
||||
{{{paginationSticky}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/hasStickyBar}}
|
||||
{{/if}}
|
||||
|
||||
{{#if topBar}}
|
||||
<div class="list-buttons-container clearfix">
|
||||
|
||||
@@ -122,7 +122,7 @@ class NotificationPanelView extends View {
|
||||
view: 'views/notification/fields/read',
|
||||
width: '10px',
|
||||
},
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -991,10 +991,12 @@ class ListRecordView extends View {
|
||||
topBar = false;
|
||||
}
|
||||
|
||||
const displayActionsButtonGroup = this.checkboxes || this.massActionList || this.buttonList.length ||
|
||||
const checkboxes = this.checkboxes && this.massActionList.length;
|
||||
|
||||
const displayActionsButtonGroup = checkboxes || this.buttonList.length ||
|
||||
this.dropdownItemList.length;
|
||||
|
||||
const hasStickyBar = this.forceStickyBar || displayActionsButtonGroup;
|
||||
const hasStickyBar = this.forceStickyBar || displayActionsButtonGroup || this.pagination;
|
||||
|
||||
const noDataDisabled = this.noDataDisabled || this._renderEmpty;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user