Merge branch 'develop' of github.com:tainacan/tainacan into develop

This commit is contained in:
vnmedeiros 2022-03-08 09:28:27 -03:00
commit b975914b44
1 changed files with 1 additions and 2 deletions

View File

@ -735,8 +735,7 @@
if ((this.$refs['search-control'].classList.contains('floating-search-control')))
this.$refs['search-control'].classList.remove('floating-search-control');
if (!this.$adminOptions.hideCollectionSubheader)
this.$refs['items-page-container'].scrollTo({ top: this.$refs['search-control'].offsetTop - (this.isRepositoryLevel ? 94 : 42), behavior: 'smooth'});
this.$refs['items-page-container'].scrollTo({ top: this.$refs['search-control'].offsetTop - ((this.$adminOptions.hideCollectionSubheader || this.isRepositoryLevel) ? 94 : 42), behavior: 'smooth'});
}
this.isLoadingItems = isLoadingItems;