@@ -58,6 +77,7 @@
import Vue, { PropType } from 'vue'
import Notifier from '@/libs/notifier'
+import beacon from '@/store/beacon'
import wifi from '@/store/wifi'
import { wifi_service } from '@/types/frontend_services'
import { Network, WifiStatus } from '@/types/wifi'
@@ -100,6 +120,12 @@ export default Vue.extend({
}
return { ...this.network, ...this.status }
},
+ holds_ip_being_used(): boolean {
+ return this.status?.ip_address === beacon.nginx_ip_address
+ },
+ },
+ mounted() {
+ beacon.registerBeaconListener(this)
},
methods: {
toggleInfoShow(): void {