From 0bb05f7871a263579c87a01c824b5942d620d068 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Wed, 6 Sep 2023 20:11:41 +0530 Subject: [PATCH] ui: don't skip if dataview has multiple items in response (#7947) 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 ab485c46b48..acb6fd6e89c 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) {