From b70641c8457d3e3d3d73a3d6cb4f528af1253fa9 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 6 Sep 2023 16:59:53 +0530 Subject: [PATCH] ui: don't skip if dataview has multiple items in response This would fix the case of multiple items return in API response for a resource such as a template or ISO in case of multi-zone env. Signed-off-by: Rohit Yadav --- ui/src/views/AutogenView.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index ab485c46b48c..acb6fd6e89cd 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -942,10 +942,6 @@ export default { console.log('DEBUG - Discarding API response as its `id` does not match the uuid on the browser path') return } - if (this.dataView && apiItemCount > 1) { - console.log('DEBUG - Discarding API response as got more than one item in data view', this.$route.params, this.items) - return - } this.items = json[responseName][objectName] if (!this.items || this.items.length === 0) {