From f7e71d0a10427679c933e8310633139715a05acf Mon Sep 17 00:00:00 2001 From: mlbonhomme <bonhomme@teklia.com> Date: Mon, 6 May 2024 13:55:21 +0200 Subject: [PATCH] Display process advanced settings when the process has started --- src/views/Process/Configure.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/Process/Configure.vue b/src/views/Process/Configure.vue index 8ec8aa89f..05ddc735d 100644 --- a/src/views/Process/Configure.vue +++ b/src/views/Process/Configure.vue @@ -305,6 +305,13 @@ export default { }), mounted () { 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: { ...mapVuexGetters('auth', ['hasFeature']), -- GitLab