Skip to content

Commit

Permalink
Merge branch 'master' into DATE_CHANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
er-satish authored Apr 21, 2020
2 parents cbcf0bf + 0448aad commit f196d00
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/component/MySidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class MySidebar extends Component {
}

static getDerivedStateFromProps(props, state) {
debugger
const links = [];
if (props && props.data && props.data.data && props.data.data.length > 0) {
for (let i = 0; i < props.data.data.length; i++) {
Expand All @@ -25,6 +26,7 @@ class MySidebar extends Component {
}

handleClick(i) {
debugger
const links = this.state.links.slice();
let portfolioName = "";
for (var j = 0; j < links.length; j++) {
Expand Down
15 changes: 15 additions & 0 deletions start-ui.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#! /bin/bash
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-armhf
echo "PATH:" $PATH
export PATH=/home/pi/.local/bin:/home/pi/lab/dev/db-derby-10.15.1.3-bin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/snap/bin:$JAVA_HOME/bin:$PATH

echo "Updated PATH:" $PATH
echo "java home:" $JAVA_HOME
echo "node version:"`node --version`
echo "current working dir:" `pwd`
cd /home/pi/lab/myapp/assetz/assetz-ui
echo "changed the workinng directory to:" `pwd`
echo "serve version:" `serve --version`
nohup serve -s build > app.log 2>&1 &

echo "successfully started the assetz node server.."

0 comments on commit f196d00

Please sign in to comment.