Skip to content
Snippets Groups Projects

Display process advanced settings when the process has started

Merged ml bonhomme requested to merge process-params into master
1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
@@ -305,6 +305,13 @@ export default {
@@ -305,6 +305,13 @@ export default {
}),
}),
mounted () {
mounted () {
this.getProcess()
this.getProcess()
 
// Fill out advanced settings if the process already has them (already started)
 
this.useGPU = this.process.use_gpu ?? false
 
this.useCache = this.process.use_cache ?? false
 
this.farmId = this.process.farm?.id ?? ''
 
let activitySetting = true
 
if (this.process.activity_state && this.process.activity_state === 'disabled') activitySetting = false
 
this.workerActivity = activitySetting
},
},
computed: {
computed: {
...mapVuexGetters('auth', ['hasFeature']),
...mapVuexGetters('auth', ['hasFeature']),
Loading