diff --git a/src/components/ModWatchtools.jsx b/src/components/ModWatchtools.jsx index b35d0ff..dc721c6 100644 --- a/src/components/ModWatchtools.jsx +++ b/src/components/ModWatchtools.jsx @@ -299,6 +299,9 @@ function ModWatchtools() { .map((row) => ( {row.slice(1).map((val, ind) => { + if (val === null) { + return (N/A); + } const type = types[ind + 1]; switch (type) { case 'ts': { diff --git a/src/utils/ProxyCheck.js b/src/utils/ProxyCheck.js index 158e92a..16ba8ca 100644 --- a/src/utils/ProxyCheck.js +++ b/src/utils/ProxyCheck.js @@ -362,7 +362,7 @@ class ProxyCheck { if (res[value]) { this.logger.info(`Email ${value}: ${JSON.stringify(res[value])}`); - disposable = !!res[value].disposable; + disposable = res[value].disposable === 'yes'; } cb(disposable); diff --git a/webpack.config.client.js b/webpack.config.client.js index 8e2f104..ba7dda0 100644 --- a/webpack.config.client.js +++ b/webpack.config.client.js @@ -9,7 +9,9 @@ const webpack = require('webpack'); const AssetsPlugin = require('assets-webpack-plugin'); const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); -// make sure we build in root dir +/* + * make sure we build in root dir + */ process.chdir(__dirname); /*