Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Fix routing issues - Closes #180 #188

Merged
merged 5 commits into from
May 9, 2017
Merged

Fix routing issues - Closes #180 #188

merged 5 commits into from
May 9, 2017

Conversation

reyraa
Copy link
Contributor

@reyraa reyraa commented May 8, 2017

  • Redirect unknown routes to login page.
  • Set the transactions tab as default tab of the main page.
  • Redirect to landing page from login instead of main.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 86.538% when pulling bad0b70 on 180-fix-states into 58cd912 on development.

@reyraa reyraa changed the title Fix routing issues. Closes #180 Fix routing issues - Closes #180 May 8, 2017
@@ -79,7 +78,7 @@ app.component('login', {
if (passphrase) {
this.input_passphrase = passphrase;
if (this.$rootScope.logged === undefined) {
this.$timeout(this.passConfirmSubmit.bind(this), 10);
// this.$timeout(this.passConfirmSubmit.bind(this), 10);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not remove whole if branch?

Copy link
Contributor

@slaweet slaweet May 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it's for development purposes. Just uncomment it and it does autologin. But it probably breaks logout.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it should be described in a comment in the file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed it

@karmacoma karmacoma merged commit 2dabb04 into development May 9, 2017
@karmacoma karmacoma deleted the 180-fix-states branch May 9, 2017 11:21
@coveralls
Copy link

Coverage Status

Coverage increased (+4.3%) to 90.854% when pulling 6245104 on 180-fix-states into 58cd912 on development.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 90.854% when pulling 23af8d5 on 180-fix-states into 228dcec on development.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants