Browse Source

verifications templates working properly

pull/1/head
Jonathan Cobb 4 years ago
parent
commit
47b55a7dc7
4 changed files with 2 additions and 3 deletions
  1. +0
    -1
      src/_helpers/api-util.js
  2. +1
    -0
      src/_helpers/router.js
  3. +0
    -1
      src/_store/account.module.js
  4. +1
    -1
      src/account/profile/PolicyPage.vue

+ 0
- 1
src/_helpers/api-util.js View File

@@ -29,7 +29,6 @@ export function getWithAuth() {
} }


function entityWithAuth(method, obj) { function entityWithAuth(method, obj) {
console.log("entityWithAuth("+method+"): obj="+obj+" (type="+(typeof obj)+")");
if (typeof obj === 'undefined' || obj === null || obj === 'undefined') { if (typeof obj === 'undefined' || obj === null || obj === 'undefined') {
return { return {
method: method, method: method,


+ 1
- 0
src/_helpers/router.js View File

@@ -62,6 +62,7 @@ export const router = new Router({
{ path: '/networks/:uuid', component: NetworkPage } { path: '/networks/:uuid', component: NetworkPage }
] ]
}, },
{ path: '/action', component: ActionPage },
{ path: '/register', component: RegisterPage }, { path: '/register', component: RegisterPage },
{ path: '/login', component: LoginPage }, { path: '/login', component: LoginPage },
{ path: '/logout', component: LoginPage }, { path: '/logout', component: LoginPage },


+ 0
- 1
src/_store/account.module.js View File

@@ -17,7 +17,6 @@ const actions = {
user => { user => {
commit('loginSuccess', user); commit('loginSuccess', user);
const landing = getLandingPage(); const landing = getLandingPage();
console.log('getLandingPage returned: '+JSON.stringify(landing));
if (landing === null) { if (landing === null) {
router.push('/'); router.push('/');
} else { } else {


+ 1
- 1
src/account/profile/PolicyPage.vue View File

@@ -532,7 +532,7 @@
}, },
created () { created () {
this.getPolicyByUuid({uuid: this.currentUser.uuid, messages: this.messages, errors: this.errors}); this.getPolicyByUuid({uuid: this.currentUser.uuid, messages: this.messages, errors: this.errors});
console.log('PolicyPage.created: $route.params='+JSON.stringify(this.$route.query));
// console.log('PolicyPage.created: $route.params='+JSON.stringify(this.$route.query));
if (this.$route.query.action) { if (this.$route.query.action) {
this.inboundAction = { this.inboundAction = {
actionType: this.$route.query.action actionType: this.$route.query.action


Loading…
Cancel
Save