mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Receivers: Removed network change toast notification on startup
This commit is contained in:
parent
05df2a5a1e
commit
270a998e18
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ if(window.targetAPI.getDeviceInfo()) {
|
||||||
|
|
||||||
function renderIPsAndQRCode() {
|
function renderIPsAndQRCode() {
|
||||||
const value = window.targetAPI.getDeviceInfo();
|
const value = window.targetAPI.getDeviceInfo();
|
||||||
console.log(`Network Interface Info: ${value}`);
|
console.log(`Network Interface Info: ${JSON.stringify(value)}`);
|
||||||
renderIPs(value.interfaces);
|
renderIPs(value.interfaces);
|
||||||
|
|
||||||
const addresses = [];
|
const addresses = [];
|
||||||
|
@ -53,7 +53,6 @@ function renderIPsAndQRCode() {
|
||||||
if (JSON.stringify(addresses) === JSON.stringify(renderedAddresses)) {
|
if (JSON.stringify(addresses) === JSON.stringify(renderedAddresses)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
renderedAddresses = addresses;
|
|
||||||
|
|
||||||
const connInfo = document.getElementById('connection-information');
|
const connInfo = document.getElementById('connection-information');
|
||||||
const connError = document.getElementById('connection-error');
|
const connError = document.getElementById('connection-error');
|
||||||
|
@ -78,6 +77,7 @@ function renderIPsAndQRCode() {
|
||||||
connError.style.display = 'none';
|
connError.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
renderedAddresses = addresses;
|
||||||
const fcastConfig = {
|
const fcastConfig = {
|
||||||
name: value.name,
|
name: value.name,
|
||||||
addresses: addresses,
|
addresses: addresses,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue