Skip to content
Snippets Groups Projects
Commit f7e71d0a authored by ml bonhomme's avatar ml bonhomme :bee:
Browse files

Display process advanced settings when the process has started

parent ba6bd2a8
No related branches found
No related tags found
1 merge request!1679Display process advanced settings when the process has started
This commit is part of merge request !1679. Comments created here will be created in the context of that merge request.
...@@ -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']),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment