current-instance.vue 747 Bytes
Newer Older
1
<template>
Adam Procter's avatar
Adam Procter committed
2 3 4 5
  <div>
    <a href="#/editor">
      <font-awesome-icon icon="edit" size="2x"/>
    </a>
Adam Procter's avatar
Adam Procter committed
6

Adam Procter's avatar
Adam Procter committed
7
    <!-- <knowledgeobject v-for="(knowledgeobject, index) in allobjects" :key="index" :object="knowledgeobject"/> -->
Adam Procter's avatar
Adam Procter committed
8
    <humaninterface></humaninterface>
Adam Procter's avatar
Adam Procter committed
9
  </div>
10 11 12
</template>

<script>
Adam Procter's avatar
Adam Procter committed
13
//import knowledgeobject from './knowledge-object.vue'
Adam Procter's avatar
Adam Procter committed
14
import humaninterface from './human-interface.vue'
Adam Procter's avatar
Adam Procter committed
15
// helper to access data from vuex
Adam Procter's avatar
Adam Procter committed
16
import { mapState } from 'vuex'
17 18

export default {
Adam Procter's avatar
Adam Procter committed
19
  name: 'current-instance',
20
  components: {
Adam Procter's avatar
Adam Procter committed
21
    // knowledgeobject,
Adam Procter's avatar
Adam Procter committed
22
    humaninterface
23
  },
Adam Procter's avatar
Adam Procter committed
24 25
  computed: mapState(['accounts_db', 'knowledge_db', 'positions_db'])
}
26 27 28 29 30
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>