Renamed RequestListItem to RequestCard

This commit is contained in:
Daniel J. Summers 2017-10-23 21:22:29 -05:00
parent 40d765fb92
commit 9cdb505bb1
2 changed files with 8 additions and 8 deletions

View File

@ -6,11 +6,11 @@ article
new-request
br
b-row(v-if='journal.length > 0')
request-list-item(v-for='request in journal'
:key='request.requestId'
:request='request'
:events='eventBus'
:toast='toast')
request-card(v-for='request in journal'
:key='request.requestId'
:request='request'
:events='eventBus'
:toast='toast')
p.text-center(v-if='journal.length === 0'): em No requests found; click the "Add a New Request" button to add one
edit-request(:events='eventBus'
:toast='toast')
@ -30,7 +30,7 @@ import EditRequest from './request/EditRequest'
import FullRequest from './request/FullRequest'
import NewRequest from './request/NewRequest'
import NotesEdit from './request/NotesEdit'
import RequestListItem from './request/RequestListItem'
import RequestCard from './request/RequestCard'
import actions from '@/store/action-types'
@ -41,7 +41,7 @@ export default {
FullRequest,
NewRequest,
NotesEdit,
RequestListItem
RequestCard
},
data () {
return {

View File

@ -21,7 +21,7 @@ b-col(md='6' lg='4')
import actions from '@/store/action-types'
export default {
name: 'request-list-item',
name: 'request-card',
props: {
request: { required: true },
toast: { required: true },