Skip to content

Commit 3438756

Browse files
Merge pull request #3 from metalabdesign/pauld/fixup
Get luminol-ui working with luminol
2 parents 7bff321 + f839101 commit 3438756

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "CC0-1.0",
66
"repository": "metalabdesign/luminol-ui",
77
"scripts": {
8-
"prepublish": "npm run clean && npm run build && npm run import && chmod +x ./bin/*.js",
8+
"prepublish": "npm run clean && npm run build && npm run import",
99
"clean": "./node_modules/.bin/rimraf lib ./*.js ./*.map ./*.flow bin runtime internal",
1010
"build": "./node_modules/.bin/babel --copy-files --ignore '**/__tests__' -s -d lib src",
1111
"import": "./node_modules/.bin/ncp lib .",
@@ -16,10 +16,10 @@
1616
"test": "npm run test:lint && npm run test:spec && npm run test:smoke"
1717
},
1818
"dependencies": {
19-
"apollo-cache-inmemory": "1.3.10",
20-
"apollo-client": "2.4.6",
21-
"apollo-link-ws": "1.0.9",
22-
"apollo-server-core": "2.2.2",
19+
"apollo-cache-inmemory": "1.3.12",
20+
"apollo-client": "2.4.8",
21+
"apollo-link-ws": "1.0.12",
22+
"babel-plugin-module-resolver": "^3.2.0",
2323
"backo2": "1.0.2",
2424
"blessed": "0.1.81",
2525
"bytes": "3.0.0",
@@ -41,7 +41,7 @@
4141
"ramda": "0.25.0",
4242
"react": "16.6.3",
4343
"react-apollo": "2.3.1",
44-
"react-blessed": "0.4.0",
44+
"react-blessed": "0.6.1",
4545
"react-dom": "16.6.3",
4646
"resolve": "1.8.1",
4747
"subscriptions-transport-ws": "0.9.15",
@@ -65,7 +65,7 @@
6565
"eslint": "5.4.0",
6666
"eslint-config-metalab": "10.0.0",
6767
"flow-bin": "0.79.1",
68-
"graphql-tag": "2.9.2",
68+
"graphql-tag": "2.10.0",
6969
"jest": "23.5.0",
7070
"ncp": "2.0.0",
7171
"node-fetch": "2.2.0",

src/ProxyList.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ProxyList extends React.Component {
3535
const {proxies} = this.props;
3636
return (
3737
<Table tags header={['Enabled', 'Path', 'URL']}>
38-
{proxies.map((proxy) => (
38+
{(proxies || []).map((proxy) => (
3939
<Table.TR key={proxy.id} value={proxy.id}>
4040
<Table.TD>
4141
{proxy.enabled ? '{green-bg} Y {/green-bg}' : 'N'}
@@ -66,7 +66,7 @@ export default () => (
6666
return prev;
6767
}
6868
let found = false;
69-
const next = prev.proxies.map((proxy) => {
69+
const next = (prev.proxies || []).map((proxy) => {
7070
if (proxy.id === subscriptionData.data.proxyRegistered.id) {
7171
found = true;
7272
return {

0 commit comments

Comments
 (0)