diff --git a/pkg/harvester/components/FilterVMSchedule.vue b/pkg/harvester/components/FilterVMSchedule.vue index e857040..9a02489 100644 --- a/pkg/harvester/components/FilterVMSchedule.vue +++ b/pkg/harvester/components/FilterVMSchedule.vue @@ -25,6 +25,9 @@ export default { return Array.from(new Set(options)); }, + enableFilterButton() { + return this.rows.some((r) => r.sourceSchedule !== undefined); + } }, methods: { @@ -63,27 +66,30 @@ export default { - - - - {{ t('harvester.tableHeaders.vmSchedule') }}{{ selected ? ` = ${selected}`: '' }} - - - + + + {{ t('harvester.tableHeaders.vmSchedule') }}{{ selected ? ` = ${selected}`: '' }} + + {{ t('harvester.fields.filterSchedule') }} @@ -98,7 +104,7 @@ export default { name="model" :options="scheduleOptions" :labels="scheduleOptions" - @input="onSelect" + @update:value="onSelect" /> @@ -106,6 +112,12 @@ export default { + +