This is an automated email from the ASF dual-hosted git repository.
sureshanaparti pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new 3850445b505 ui: fix delete traffic type (#11337)
3850445b505 is described below
commit 3850445b505b76957f790f1b18a9888c9b0b9616
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Jul 31 15:17:01 2025 +0530
ui: fix delete traffic type (#11337)
Currently wrong parameter - 'itemd' is passed to the `deleteTrafficType`
method.
Signed-off-by: Abhishek Kumar <[email protected]>
---
ui/src/views/infra/network/TrafficTypesTab.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/infra/network/TrafficTypesTab.vue
b/ui/src/views/infra/network/TrafficTypesTab.vue
index 41da48d993c..a4bc20e4dbe 100644
--- a/ui/src/views/infra/network/TrafficTypesTab.vue
+++ b/ui/src/views/infra/network/TrafficTypesTab.vue
@@ -21,7 +21,7 @@
<a-tab-pane v-for="(item, index) in traffictypes"
:tab="item.traffictype" :key="index">
<a-popconfirm
:title="$t('message.confirm.delete.traffic.type')"
- @confirm="deleteTrafficType(itemd)"
+ @confirm="deleteTrafficType(item)"
:okText="$t('label.yes')"
:cancelText="$t('label.no')" >
<a-button