Let finished caption jobs be dismissed from the Queue panel.
This commit is contained in:
@@ -335,6 +335,12 @@
|
||||
<div class="m-job-status">
|
||||
<span>● {{ card.statusLabel }}</span>
|
||||
<button v-if="card.cancelable" type="button" @click.stop="ctx.cancel(card.job)">Cancel</button>
|
||||
<button v-else-if="card.dismissable" type="button" @click.stop="ctx.dismissFinishedCard(card)">Dismiss</button>
|
||||
</div>
|
||||
<p v-if="card.resultText" class="m-muted" style="white-space:pre-wrap">{{ card.resultText }}</p>
|
||||
<div v-if="card.resultText" class="m-job-status">
|
||||
<button type="button" @click.stop="ctx.copyCaption(card.resultText)">Copy</button>
|
||||
<button type="button" @click.stop="ctx.useCaptionAsPrompt(card.resultText)">Use as prompt</button>
|
||||
</div>
|
||||
<div v-if="card.progress" class="m-job-progress" :data-indeterminate="card.progress.indeterminate ? 'true' : undefined">
|
||||
<progress
|
||||
|
||||
Reference in New Issue
Block a user