Skip to content

Commit

Permalink
Fix lettercase
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Oct 15, 2024
1 parent 55dfd14 commit c731d1a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/cards/useGridLoading.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,22 @@ export default function useGridLoading(props) {
([newBreakpoint]) => {
skeletonCount.value = currentBreakpointConfig.value.cardsPerRow;

const breakpointSkeletonconfig = getBreakpointConfig(skeletonsConfig.value, newBreakpoint);
if (breakpointSkeletonconfig) {
if (breakpointSkeletonconfig.count) {
skeletonCount.value = breakpointSkeletonconfig.count;
const breakpointSkeletonConfig = getBreakpointConfig(skeletonsConfig.value, newBreakpoint);
if (breakpointSkeletonConfig) {
if (breakpointSkeletonConfig.count) {
skeletonCount.value = breakpointSkeletonConfig.count;
}
if (breakpointSkeletonconfig.height) {
skeletonHeight.value = breakpointSkeletonconfig.height;
if (breakpointSkeletonConfig.height) {
skeletonHeight.value = breakpointSkeletonConfig.height;
}
if (breakpointSkeletonconfig.orientation) {
skeletonOrientation.value = breakpointSkeletonconfig.orientation;
if (breakpointSkeletonConfig.orientation) {
skeletonOrientation.value = breakpointSkeletonConfig.orientation;
}
if (breakpointSkeletonconfig.thumbnailDisplay) {
skeletonThumbnailDisplay.value = breakpointSkeletonconfig.thumbnailDisplay;
if (breakpointSkeletonConfig.thumbnailDisplay) {
skeletonThumbnailDisplay.value = breakpointSkeletonConfig.thumbnailDisplay;
}
if (breakpointSkeletonconfig.thumbnailAlign) {
skeletonThumbnailAlign.value = breakpointSkeletonconfig.thumbnailAlign;
if (breakpointSkeletonConfig.thumbnailAlign) {
skeletonThumbnailAlign.value = breakpointSkeletonConfig.thumbnailAlign;
}
}
},
Expand Down

0 comments on commit c731d1a

Please sign in to comment.