diff --git a/src/mixins/messages.js b/src/mixins/messages.js index 7d58ad2..a5ca0f1 100644 --- a/src/mixins/messages.js +++ b/src/mixins/messages.js @@ -6,6 +6,7 @@ const ORGANIZATION = { } const SCHEMA = { + DUPLICATE_ATTRIBUTE: "Duplicate attribute name not allowed", PROTECTED_TERM: "is protected term you can't use it", NO_SPACE: "There should not be space in attribute name", NAME_CAMELCASE: "Name should be camelCase", diff --git a/src/store/store.js b/src/store/store.js index e9d0bcb..e0bef74 100644 --- a/src/store/store.js +++ b/src/store/store.js @@ -30,6 +30,9 @@ export default new Vuex.Store({ } }, getters: { + vcList(state) { + return state.vcList + }, userDetails(state) { return state.userProfile.details }, @@ -102,6 +105,23 @@ export default new Vuex.Store({ } } }, + increaseOrgDataCount(state,payload) { + state.orgList.find((x)=>{ + if(x._id === state.selectedOrgDid){ + x[payload] += 1 + } + }) + }, + DecreaseOrgTemplateCount(state,payload) { + state.orgList.find((x)=>{ + if(x._id === state.selectedOrgDid){ + if(x[payload]!==0){ + x[payload] -= 1 + } + + } + }) + }, shiftContainer(state,payload) { state.containerShift = payload }, diff --git a/src/views/Credential.vue b/src/views/Credential.vue index 7b9375b..52870cb 100644 --- a/src/views/Credential.vue +++ b/src/views/Credential.vue @@ -43,6 +43,10 @@ h5 span { background: #fff; padding: 0 10px; } +.scrollit { + overflow:scroll; + height:600px; +}