@@ -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, | ||||
@@ -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 }, | ||||
@@ -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 { | ||||
@@ -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 | ||||