Skip to content

Commit

Permalink
Fix recursive list
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Apr 2, 2019
1 parent 6c63465 commit 18442ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Expand Up @@ -283,6 +283,12 @@ export default {
Object.defineProperty(list[key], 'subject_status_tag', { value: ranksList[key].subject_status_tag })
Object.defineProperty(list[key], 'valid_subject_ranks', { value: ranksList[key].valid_subject_ranks })
}
else {
console.log('-----')
console.log(key)
console.log(ranksList)
}
this.getTreeList(list[key], ranksList)
}
},
Expand Down
Expand Up @@ -9,11 +9,12 @@
slot="body"
class="tree-list">
<recursive-list
v-for="list in objectLists.tree"
:getter-list="getterList"
:display="displayName"
:modal-mutation-name="mutationNameModal"
:action-mutation-name="mutationNameAdd"
:object-list="objectLists.tree"/>
:object-list="list"/>
</div>
</modal>
</form>
Expand All @@ -22,16 +23,12 @@
import { GetterNames } from '../store/getters/getters'
import { MutationNames } from '../store/mutations/mutations'
import Autocomplete from 'components/autocomplete.vue'
import RecursiveList from './recursiveList.vue'
import ListEntrys from './listEntrys.vue'
import Modal from 'components/modal.vue'
export default {
components: {
Autocomplete,
RecursiveList,
ListEntrys,
Modal
},
name: 'TreeDisplay',
Expand Down

0 comments on commit 18442ee

Please sign in to comment.