Skip to content

Commit 4b4655c

Browse files
author
Paul Korzhyk
committed
Fixes #49 - ratel crashes when an edge with a facet is clicked
1 parent 7c3d3f8 commit 4b4655c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/components/NodeProperties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default function NodeProperties(props) {
6969
{Object.keys(facets).map(k => (
7070
<tr key={k}>
7171
<td>{k}</td>
72-
<td>{attrs[k]}</td>
72+
<td>{facets[k]}</td>
7373
</tr>
7474
))}
7575
</tbody>

scripts/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ function buildServer {
7575
function uploadToS3 {
7676
echo
7777
echo "=> Uploading client static files to AWS S3..."
78-
aws s3 cp --recursive ./client/build/static s3://dgraph-io-ratel/dev/static
78+
aws s3 cp --recursive ./client/build/static s3://dgraph-io-ratel/static
7979
aws cloudfront create-invalidation --distribution-id EJF7H0N2C94FP --paths "/*"
8080
}

0 commit comments

Comments
 (0)