fix: check if metadata exist in job_queue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
678eda0e8c
commit
3f4eeadb6f
@ -86,7 +86,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class=" ">
|
<td class=" ">
|
||||||
{{ item.filename }}
|
{{ item.filename }}
|
||||||
<template v-if="item.metadata.metadataPulled">
|
<template v-if="existMetadata(item)">
|
||||||
<br />
|
<br />
|
||||||
<small>{{ getDescription(item) }}</small>
|
<small>{{ getDescription(item) }}</small>
|
||||||
</template>
|
</template>
|
||||||
@ -239,5 +239,9 @@ export default class JobqueuePanel extends Mixins(BaseMixin) {
|
|||||||
|
|
||||||
return output
|
return output
|
||||||
}
|
}
|
||||||
|
|
||||||
|
existMetadata(item: ServerJobQueueStateJob) {
|
||||||
|
return item?.metadata?.metadataPulled
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user