Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(router-tabset): navigate using router link #1146

Merged
merged 6 commits into from
Jan 14, 2019
Merged

fix(router-tabset): navigate using router link #1146

merged 6 commits into from
Jan 14, 2019

Conversation

yggg
Copy link
Contributor

@yggg yggg commented Jan 11, 2019

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Fixes #188

Navigation already handled by routerLink directive.
It's doesn't work since angular picks only last router outlet.
Makes navigation work in both playground and doc apps.
Have to split enabled and disabled links into different templates.
Otherwise, disabled link can become active because of route match.
It's impossible to set route to something that didn't match ever, even
[], null, '' match when at the root.
@yggg yggg requested a review from nnixaa January 11, 2019 14:04
@codecov
Copy link

codecov bot commented Jan 11, 2019

Codecov Report

Merging #1146 into master will increase coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1146      +/-   ##
==========================================
+ Coverage   79.08%   79.12%   +0.03%     
==========================================
  Files         200      200              
  Lines        6106     6102       -4     
  Branches      475      474       -1     
==========================================
- Hits         4829     4828       -1     
+ Misses       1157     1154       -3     
  Partials      120      120
Impacted Files Coverage Δ
.../components/route-tabset/route-tabset.component.ts 81.81% <0%> (+15.15%) ⬆️

@nnixaa nnixaa merged commit cb1c21e into akveo:master Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nb-route-tabset with parameters in URL
2 participants