Переглянути джерело

verifications templates working properly

pull/1/head
Jonathan Cobb 4 роки тому
джерело
коміт
47b55a7dc7
4 змінених файлів з 2 додано та 3 видалено
  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 Переглянути файл

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

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


+ 1
- 0
src/_helpers/router.js Переглянути файл

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


+ 0
- 1
src/_store/account.module.js Переглянути файл

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


+ 1
- 1
src/account/profile/PolicyPage.vue Переглянути файл

@@ -532,7 +532,7 @@
},
created () {
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) {
this.inboundAction = {
actionType: this.$route.query.action


Завантаження…
Відмінити
Зберегти