Commit Graph

2 Commits

Author SHA1 Message Date
Àlex Magaz Graça
d6498d991f Show the button of the default view as active on first load
Using just routerLinkActive doesn't work on first load, the query
parameter might not be defined. Adding 'active' to the class attribute
doesn't work either, it doesn't get removed after switching to the other
view.
2017-10-17 12:52:33 +02:00
Àlex Magaz Graça
eab2dd86e2 Implement component to switch between view modes
For now it allows to switch between list and grid views.

Fixes https://github.com/DSpace/dspace-angular/issues/171
2017-10-17 12:52:33 +02:00