diff --git a/src/components/pages/Dashboard/CscCardDashboard.vue b/src/components/pages/Dashboard/CscCardDashboard.vue index 711bc185..58513fb5 100644 --- a/src/components/pages/Dashboard/CscCardDashboard.vue +++ b/src/components/pages/Dashboard/CscCardDashboard.vue @@ -52,7 +52,7 @@ class="csc-card-list" >
{{ error ? $t('Data loading error') : noItemsMessage }} @@ -185,7 +185,12 @@ export default { default: false } }, - emits: ['action'] + emits: ['action'], + computed: { + shortItemsList () { + return this.itemsList.length >= 5 ? this.itemsList.slice(0, 5) : this.itemsList + } + } } @@ -201,7 +206,7 @@ export default { padding-bottom: 22px .csc-card-list - height: 400px + height: 450px .csc-card-footer height: 80px