ui: fix delete traffic type (#11337)

Currently wrong parameter - 'itemd' is passed to the `deleteTrafficType` method.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2025-07-31 15:17:01 +05:30 committed by GitHub
parent 294aef5ecf
commit 3850445b50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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