diff --git a/src/components/eventBus.js b/src/components/eventBus.js new file mode 100644 index 0000000000..4b7292718a --- /dev/null +++ b/src/components/eventBus.js @@ -0,0 +1,2 @@ +import Vue from "vue"; +export const EventBus = new Vue(); diff --git a/src/components/init.js b/src/components/init.js index 79501b3e10..d96e968e64 100644 --- a/src/components/init.js +++ b/src/components/init.js @@ -14,6 +14,7 @@ import BatteryIcon from "./quad-status/BatteryIcon.vue"; import FC from '../js/fc.js'; import MSP from '../js/msp.js'; import PortUsage from '../js/port_usage.js'; +import PortPicker from './port-picker/PortPicker.vue'; import CONFIGURATOR from '../js/data_storage.js'; // Most of the global objects can go here at first. @@ -44,6 +45,7 @@ i18next.on('initialized', function() { BetaflightLogo, StatusBar, BatteryIcon, + PortPicker, }, data: betaflightModel, }); diff --git a/src/components/port-picker/FirmwareVirtualOption.vue b/src/components/port-picker/FirmwareVirtualOption.vue index b3f4703bf0..b3a11a4a35 100644 --- a/src/components/port-picker/FirmwareVirtualOption.vue +++ b/src/components/port-picker/FirmwareVirtualOption.vue @@ -5,6 +5,7 @@ >