bfg-common 1.2.94 → 1.2.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -559,13 +559,13 @@ const onShowModal = (
|
|
|
559
559
|
break
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
const onRemoveNetwork = (
|
|
562
|
+
const onRemoveNetwork = (label: string) => {
|
|
563
563
|
isShowRemoveModalLoader.value = true
|
|
564
|
-
|
|
564
|
+
const id = props.networksList.find(network => network.title === label)!.id
|
|
565
|
+
emits('remove-network', { id, hideModalCB: onHideNetworkRemoveModal })
|
|
565
566
|
}
|
|
566
|
-
const onRemoveSwitch = (
|
|
567
|
+
const onRemoveSwitch = (id: string) => {
|
|
567
568
|
isShowRemoveModalLoader.value = true
|
|
568
|
-
const id = props.networksList.find((network) => network.title === label)!.id
|
|
569
569
|
emits('remove-switch', { id, hideModalCB: onHideSwitchRemoveModal })
|
|
570
570
|
}
|
|
571
571
|
const onRemovePort = (id: string) => {
|