Skip to content

Commit

Permalink
Only show refresh button for jobs if listing jobs is supported (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr authored Aug 29, 2023
1 parent b6e9d72 commit c87d79e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/JobPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<template slot="toolbar">
<button title="Add new job for batch processing" @click="createJobFromScript()" v-show="supportsCreate" :disabled="!this.hasProcess"><i class="fas fa-plus"></i> Create Batch Job</button>
<button title="Run the process directly and view the results without storing them permanently" @click="executeProcess" v-show="supports('computeResult')" :disabled="!this.hasProcess"><i class="fas fa-play"></i> Run now</button>
<SyncButton name="batch jobs" :sync="() => updateData(true)" />
<SyncButton v-if="supportsList" name="batch jobs" :sync="() => updateData(true)" />
</template>
<template #actions="p">
<button title="Details" @click="showJobInfo(p.row)" v-show="supportsRead"><i class="fas fa-info"></i></button>
Expand Down

0 comments on commit c87d79e

Please sign in to comment.