summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-28 10:40:26 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-28 10:40:26 +0300
commitd75593b84b9adc7d9a051829c78aad74028200c6 (patch)
treef168ee349f48639dc8d9cf70175a334c808b329d
parent2c747d024b641eac87a0db7b6d3dce036085a28a (diff)
downloadwebui-vue-d75593b84b9adc7d9a051829c78aad74028200c6.tar.xz
add check for length, tabsle processors items
-rw-r--r--src/views/_sila/Overview/Inventory/InventoryTableProcessors.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/views/_sila/Overview/Inventory/InventoryTableProcessors.vue b/src/views/_sila/Overview/Inventory/InventoryTableProcessors.vue
index c6c798cf..8052c6aa 100644
--- a/src/views/_sila/Overview/Inventory/InventoryTableProcessors.vue
+++ b/src/views/_sila/Overview/Inventory/InventoryTableProcessors.vue
@@ -1,5 +1,8 @@
<template>
- <page-section :section-title="$t('pageInventory.processors')">
+ <page-section
+ v-if="processors && processors.length > 0"
+ :section-title="$t('pageInventory.processors')"
+ >
<!-- Search -->
<b-row class="align-items-end">
<b-col sm="6" md="5" xl="4">