diff --git a/build/app/assets/netcreate-config.js b/build/app/assets/netcreate-config.js deleted file mode 100644 index fd489140..00000000 --- a/build/app/assets/netcreate-config.js +++ /dev/null @@ -1,9 +0,0 @@ - -// this file generated by NC command -const NC_CONFIG = { - dataset: "CHAT", - port: "3000", - googlea: "0" -}; -if (typeof process === "object") module.exports = NC_CONFIG; -if (typeof window === "object") window.NC_CONFIG = NC_CONFIG; \ No newline at end of file diff --git a/build/app/view/netcreate/NetCreate.jsx b/build/app/view/netcreate/NetCreate.jsx index 9c9ac6e7..2bf69c45 100644 --- a/build/app/view/netcreate/NetCreate.jsx +++ b/build/app/view/netcreate/NetCreate.jsx @@ -127,9 +127,14 @@ const FILTERLOGIC = require('./filter-logic'); // handles filtering functions /// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /*/ Define the component structure of the web application /*/ render() { - const { isLoggedIn, disconnectMsg } = this.state; - let hideGraph = false; - if (this.state.requireLogin && !isLoggedIn) hideGraph = true; + const { isLoggedIn, disconnectMsg } = this.state; + + // show or hide graph + // Use 'visibiliity' css NOT React's 'hidden' so size is properly + // calculated on init + let hideGraph = 'visible'; + if (this.state.requireLogin && !isLoggedIn) hideGraph = 'hidden'; + return (