コントロールパネルのジョブキューに個々のジョブが表示されないのを修正 (#7941)
This commit is contained in:
parent
3db7551ad3
commit
575a8bd9c8
|
@ -55,8 +55,8 @@ export default defineComponent({
|
||||||
const jobs = ref([]);
|
const jobs = ref([]);
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
os.api(props.domain === 'inbox' ? 'admin/queue/inbox-delayed' : props.domain === 'deliver' ? 'admin/queue/deliver-delayed' : null, {}).then(jobs => {
|
os.api(props.domain === 'inbox' ? 'admin/queue/inbox-delayed' : props.domain === 'deliver' ? 'admin/queue/deliver-delayed' : null, {}).then(result => {
|
||||||
jobs.value = jobs;
|
jobs.value = result;
|
||||||
});
|
});
|
||||||
|
|
||||||
const onStats = (stats) => {
|
const onStats = (stats) => {
|
||||||
|
|
Loading…
Reference in New Issue