Adding request works (mostly)

Everything works except adding the new request back to the list; this
proof of concept is a go, and will be merged to master
This commit is contained in:
Daniel J. Summers
2017-09-21 18:45:06 -05:00
parent 794a365f08
commit 015645aa86
14 changed files with 179 additions and 55 deletions
+8 -2
View File
@@ -5,14 +5,19 @@
template(v-if="!isLoadingJournal")
new-request
p journal has {{ journal.length }} entries
request-list-item(v-for="request in journal" v-bind:request="request" v-bind:key="request.requestId")
</template>
<script>
'use strict'
import { mapState } from 'vuex'
import PageTitle from './PageTitle'
import NewRequest from './request/NewRequest'
import RequestListItem from './request/RequestListItem'
import * as actions from '@/store/action-types'
import actions from '@/store/action-types'
export default {
name: 'dashboard',
@@ -22,7 +27,8 @@ export default {
},
components: {
PageTitle,
NewRequest
NewRequest,
RequestListItem
},
computed: {
title () {