diff --git a/Build/Vue/src/components/AllSelector/index.tsx b/Build/Vue/src/components/AllSelector/index.tsx index 487eb51..fb42d7b 100644 --- a/Build/Vue/src/components/AllSelector/index.tsx +++ b/Build/Vue/src/components/AllSelector/index.tsx @@ -2,6 +2,7 @@ import {Component, Prop, Vue} from 'vue-property-decorator'; import {VNode} from 'vue'; import {Mutation, State} from 'vuex-class'; import {Mutations} from '@/enums/Mutations'; +import {ResourceInterface} from '@/interfaces/ResourceInterface'; @Component export default class AllSelector extends Vue { @@ -16,10 +17,10 @@ export default class AllSelector extends Vue { unselectItems: any; @State - selected!: Array; + selected!: Array; @Prop() - listOfIdentifiers!: Array; + listOfResources!: Array; constructor(props: any) { super(props); @@ -30,7 +31,7 @@ export default class AllSelector extends Vue { return ( this.toggleSelect(event, this.listOfIdentifiers)} /> + value='1' onClick={(event: Event) => this.toggleSelect(event, this.listOfResources)} />