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 = (id: string) => {
562
+ const onRemoveNetwork = (label: string) => {
563
563
  isShowRemoveModalLoader.value = true
564
- emits('remove-network', { id, hideModalCB: onHideNetworkRemoveModal })
564
+ const id = props.networksList.find(network => network.title === label)!.id
565
+ emits('remove-network', { id, hideModalCB: onHideNetworkRemoveModal })
565
566
  }
566
- const onRemoveSwitch = (label: string) => {
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) => {
@@ -29,6 +29,13 @@ const props = defineProps<{
29
29
  </script>
30
30
 
31
31
  <style scoped lang="scss">
32
+ :root.dark-theme {
33
+ .panel {
34
+ fill: #1b2a32;
35
+ stroke: #adbbc4;
36
+ }
37
+ }
38
+
32
39
  .panel {
33
40
  fill: #fff;
34
41
  stroke: #888;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.94",
4
+ "version": "1.2.95",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",