Do not refetch if jobs array is not empty
parent
6cbcc08c9f
commit
8e1f8d2159
|
@ -11,6 +11,9 @@ export default contain(
|
|||
return { jobs, showModal };
|
||||
},
|
||||
fetchAction: 'jobActions.getJobs',
|
||||
isPrimed({ jobs = [] }) {
|
||||
return !!jobs.length;
|
||||
},
|
||||
actions: [
|
||||
'appActions',
|
||||
'jobActions'
|
||||
|
|
Loading…
Reference in New Issue