mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Don't return empty array for job store getter
job is a single object, it doesn't really make sense to return an array here.
This commit is contained in:
@@ -8,7 +8,7 @@ import axios from "axios";
|
||||
|
||||
const getters = {
|
||||
job: (state) => (jobId) => {
|
||||
return state.job[jobId] || [];
|
||||
return state.job[jobId];
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user