mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 20:11:58 +02:00
Merge branch '323-relaunch-pending-job' into 'develop'
Resolve "Allow relaunching of pending import jobs" Closes #323 See merge request funkwhale/funkwhale!339
This commit is contained in:
commit
f12c105026
2 changed files with 3 additions and 2 deletions
1
changes/changelog.d/323.enhancement
Normal file
1
changes/changelog.d/323.enhancement
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Can now relaunch pending import jobs from the web interface (#323)
|
|
@ -44,7 +44,7 @@
|
||||||
{{ stats.errored }}
|
{{ stats.errored }}
|
||||||
<button
|
<button
|
||||||
@click="rerun({batches: [batch.id], jobs: []})"
|
@click="rerun({batches: [batch.id], jobs: []})"
|
||||||
v-if="stats.errored > 0"
|
v-if="stats.errored > 0 || stats.pending > 0"
|
||||||
class="ui tiny basic icon button">
|
class="ui tiny basic icon button">
|
||||||
<i class="redo icon" />
|
<i class="redo icon" />
|
||||||
<translate>Rerun errored jobs</translate>
|
<translate>Rerun errored jobs</translate>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
{{ job.status }}</span>
|
{{ job.status }}</span>
|
||||||
<button
|
<button
|
||||||
@click="rerun({batches: [], jobs: [job.id]})"
|
@click="rerun({batches: [], jobs: [job.id]})"
|
||||||
v-if="job.status === 'errored'"
|
v-if="['errored', 'pending'].indexOf(job.status) > -1"
|
||||||
:title="labels.rerun"
|
:title="labels.rerun"
|
||||||
class="ui tiny basic icon button">
|
class="ui tiny basic icon button">
|
||||||
<i class="redo icon" />
|
<i class="redo icon" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue