Closed deckar01 closed 9 years ago
The Manage Issuers & Gateways button doesn't work here anymore. In https://github.com/stellar/stellar-client/issues/1091#issuecomment-66210007, this was what made me think that href
would be better since there currently isn't a way (as far as I know) of adding a GET param to ui-sref
links.
@irisli, you are right. I thought I tested it, but the link I used didn't actually have parameters.
The accepted solution is a little more verbose and generic than we need, but contains some tricks we can use to get this working with ui-sref
.
@irisli I added a commit that uses ng-click="gotoAddGateway()"
which sets the action to add-gateway
and navigates to the dashboard.
Pulled and tested add gateway link. Maybe in the future with modular client, there would be a more unified way to do this, but as of now, this works fine. :+1:
Removed hard coded hrefs in favor of ui-sref. Changed instances of
href=""
tohref="#"
for IE compatibility.Fixes #1091.