diff --git a/app/views/users/_returnTop_btn.html.erb b/app/views/users/_returnTop_btn.html.erb index 9bdc31d6..6ecc9e39 100644 --- a/app/views/users/_returnTop_btn.html.erb +++ b/app/views/users/_returnTop_btn.html.erb @@ -30,9 +30,19 @@ -
+
+ + + -
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/public/react/src/modules/tpm/SiderBar.js b/public/react/src/modules/tpm/SiderBar.js index fd74c759..cb473f6d 100644 --- a/public/react/src/modules/tpm/SiderBar.js +++ b/public/react/src/modules/tpm/SiderBar.js @@ -14,7 +14,11 @@ class SiderBar extends Component { window._initSider(); } - + trophyreturnfun=()=>{ + this.setState({ + trophyreturn:true + }) + } render() { return (
@@ -51,11 +55,15 @@ class SiderBar extends Component {
-
+ {this.state.trophyreturn===true?"":
+ + + -
+
} );