graphs: rebuild container on combo box close

This commit is contained in:
Girish Ramakrishnan
2025-10-15 20:56:00 +02:00
parent bdcb5c502c
commit b139749198
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -203,7 +203,8 @@ onUnmounted(async () => {
<template>
<Section :title="$t('system.graphs.title')">
<template #header-buttons>
<MultiSelect @select="rebuild()" v-model="selectedContainers" :options="allContainers" option-label="label" :search-threshold="20" select-all-label="Select All"/>
<!-- do not rebuild on @select because rebuild is not reentrant! -->
<MultiSelect @close="rebuild()" v-model="selectedContainers" :options="allContainers" option-label="label" :search-threshold="20" select-all-label="Select All"/>
<SingleSelect @select="rebuild()" v-model="period" :options="periods" option-label="label"/>
</template>