aboutsummaryrefslogtreecommitdiffstats
path: root/graphgraph-fe/src/GraphHops.js
diff options
context:
space:
mode:
authorPavel Paroulek <pavel.paroulek@orange.com>2019-05-28 14:43:01 +0200
committerPavel Paroulek <pavel.paroulek@orange.com>2019-05-28 14:43:01 +0200
commitcd8c4a64f0b6aa74e8190c53bf21924d291b76e0 (patch)
treee2ecdc6a33897a39207ad6412870b605dd1f3428 /graphgraph-fe/src/GraphHops.js
parente22629636b27a473f7950d7b684c7017d01f6298 (diff)
Adding edgerule filtering
Adding edgerule filter and removing 'Both' option from drop down menu Change-Id: I1969052166cc213a891d52fef9e79c1901ff7f9f Issue-ID: AAI-531 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
Diffstat (limited to 'graphgraph-fe/src/GraphHops.js')
-rw-r--r--graphgraph-fe/src/GraphHops.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphgraph-fe/src/GraphHops.js b/graphgraph-fe/src/GraphHops.js
index cd5763a..de7a4cc 100644
--- a/graphgraph-fe/src/GraphHops.js
+++ b/graphgraph-fe/src/GraphHops.js
@@ -50,7 +50,14 @@ class GraphHops extends React.Component {
}
render () {
- // {createNumInput('cousin hops', this.onChangeCousin, this.state.cousinHops)}
+ if (this.props.edgeFilter === 'Edgerules'){
+ return (
+ <div className="hops-input">
+ {createNumInput('edgerule hops', this.onChangeCousin, this.state.cousinHops)}
+ </div>
+ )
+ }
+
return (
<div className="hops-input">
{createNumInput('parent hops', this.onChangeParent, this.state.parentHops)}