Renamed RequestListItem to RequestCard
This commit is contained in:
parent
40d765fb92
commit
9cdb505bb1
@ -6,11 +6,11 @@ article
|
|||||||
new-request
|
new-request
|
||||||
br
|
br
|
||||||
b-row(v-if='journal.length > 0')
|
b-row(v-if='journal.length > 0')
|
||||||
request-list-item(v-for='request in journal'
|
request-card(v-for='request in journal'
|
||||||
:key='request.requestId'
|
:key='request.requestId'
|
||||||
:request='request'
|
:request='request'
|
||||||
:events='eventBus'
|
:events='eventBus'
|
||||||
:toast='toast')
|
:toast='toast')
|
||||||
p.text-center(v-if='journal.length === 0'): em No requests found; click the "Add a New Request" button to add one
|
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'
|
edit-request(:events='eventBus'
|
||||||
:toast='toast')
|
:toast='toast')
|
||||||
@ -30,7 +30,7 @@ import EditRequest from './request/EditRequest'
|
|||||||
import FullRequest from './request/FullRequest'
|
import FullRequest from './request/FullRequest'
|
||||||
import NewRequest from './request/NewRequest'
|
import NewRequest from './request/NewRequest'
|
||||||
import NotesEdit from './request/NotesEdit'
|
import NotesEdit from './request/NotesEdit'
|
||||||
import RequestListItem from './request/RequestListItem'
|
import RequestCard from './request/RequestCard'
|
||||||
|
|
||||||
import actions from '@/store/action-types'
|
import actions from '@/store/action-types'
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ export default {
|
|||||||
FullRequest,
|
FullRequest,
|
||||||
NewRequest,
|
NewRequest,
|
||||||
NotesEdit,
|
NotesEdit,
|
||||||
RequestListItem
|
RequestCard
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
@ -21,7 +21,7 @@ b-col(md='6' lg='4')
|
|||||||
import actions from '@/store/action-types'
|
import actions from '@/store/action-types'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'request-list-item',
|
name: 'request-card',
|
||||||
props: {
|
props: {
|
||||||
request: { required: true },
|
request: { required: true },
|
||||||
toast: { required: true },
|
toast: { required: true },
|
Loading…
Reference in New Issue
Block a user