コントロールパネルのジョブキューに個々のジョブが表示されないのを修正 (#7941)

This commit is contained in:
シアノン 2021-11-05 11:55:00 +09:00 committed by GitHub
parent ff8a0a2deb
commit 20d4ea720d

View file

@ -55,8 +55,8 @@ export default defineComponent({
const jobs = ref([]);
onMounted(() => {
os.api(props.domain === 'inbox' ? 'admin/queue/inbox-delayed' : props.domain === 'deliver' ? 'admin/queue/deliver-delayed' : null, {}).then(jobs => {
jobs.value = jobs;
os.api(props.domain === 'inbox' ? 'admin/queue/inbox-delayed' : props.domain === 'deliver' ? 'admin/queue/deliver-delayed' : null, {}).then(result => {
jobs.value = result;
});
const onStats = (stats) => {