Syncs loading flag for items list component with loading of metadata and filters. Fixes masonry skeleton not adjusting height before image file is loaded. Updates Buefy.
This commit is contained in:
parent
85fc8e0920
commit
5cc89c4cc6
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.18.0",
|
||||
"buefy": "^0.7.5",
|
||||
"buefy": "^0.7.6",
|
||||
"bulma": "^0.7.4",
|
||||
"mdi": "^2.2.43",
|
||||
"moment": "^2.22.2",
|
||||
|
|
|
@ -727,7 +727,7 @@
|
|||
:items="items"
|
||||
:is-filters-menu-compressed="isFiltersMenuCompressed || openAdvancedSearch "
|
||||
:total-items="totalItems"
|
||||
:is-loading="isLoadingItems"
|
||||
:is-loading="showLoading"
|
||||
:is="registeredViewModes[viewMode] != undefined ? registeredViewModes[viewMode].component : ''"/>
|
||||
|
||||
<!-- Empty Placeholder (only used in Admin) -->
|
||||
|
|
|
@ -711,7 +711,7 @@
|
|||
:items="items"
|
||||
:is-filters-menu-compressed="isFiltersMenuCompressed"
|
||||
:total-items="totalItems"
|
||||
:is-loading="isLoadingItems"
|
||||
:is-loading="showLoading"
|
||||
:is="registeredViewModes[viewMode] != undefined ? registeredViewModes[viewMode].component : ''"/>
|
||||
|
||||
<!-- Empty Placeholder (only used in Admin) -->
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
width: 100%;
|
||||
height: auto;
|
||||
transition: height 0.2s ease;
|
||||
display: block;
|
||||
}
|
||||
img:not(.skeleton) {
|
||||
visibility: hidden;
|
||||
|
|
|
@ -320,7 +320,6 @@ export default {
|
|||
if (this.$store.getters['search/getPostQuery']['fetch_only'] == undefined) {
|
||||
this.$emit( 'hasToPrepareMetadataAndFilters', to);
|
||||
} else {
|
||||
|
||||
this.$emit( 'isLoadingItems', true);
|
||||
|
||||
// Cancels previous Request
|
||||
|
|
Loading…
Reference in New Issue