PulseTile / PulseTile-React-Core

PulseTile framework - developed with ReactJS
Apache License 2.0
10 stars 12 forks source link

user profile link #303

Closed BogdanScherban closed 5 years ago

BogdanScherban commented 5 years ago

For the issue: https://github.com/LeedsCC/Helm-PHR-Project/issues/100

The reason is that user profile page is unavailable in Helm version. When user click on name in User Panel, it should redirect him to the /profile page. But if this page is unavailable, user will be redirected to the homepage (with charts).

I added the condition, that if user profile page is unavailable (by theme settings), user name isn't clickable.

codecov-io commented 5 years ago

Codecov Report

Merging #303 into develop will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #303      +/-   ##
==========================================
+ Coverage     96.5%   96.5%   +<.01%     
==========================================
  Files          120     120              
  Lines         1572    1573       +1     
  Branches       245     246       +1     
==========================================
+ Hits          1517    1518       +1     
  Misses          45      45              
  Partials        10      10
Impacted Files Coverage Δ
...omponents/containers/UserPanel/UserAccountPanel.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 548e4be...0ba828e. Read the comment docs.