diff --git a/packages/grid_client/src/zos/zmachine.ts b/packages/grid_client/src/zos/zmachine.ts index 315f0f2cfa..40c5f0cd32 100644 --- a/packages/grid_client/src/zos/zmachine.ts +++ b/packages/grid_client/src/zos/zmachine.ts @@ -85,10 +85,10 @@ class Zmachine extends WorkloadData { out += key; out += "="; out += this.env[key]; - if (this.gpu) { - for (const g of this.gpu) { - out += g; - } + } + if (this.gpu) { + for (const g of this.gpu) { + out += g; } } return out; diff --git a/packages/grid_client/src/zos/zmachine_light.ts b/packages/grid_client/src/zos/zmachine_light.ts index 0d6245930f..cbd37387f1 100644 --- a/packages/grid_client/src/zos/zmachine_light.ts +++ b/packages/grid_client/src/zos/zmachine_light.ts @@ -64,10 +64,10 @@ class ZmachineLight extends WorkloadData { out += key; out += "="; out += this.env[key]; - if (this.gpu) { - for (const g of this.gpu) { - out += g; - } + } + if (this.gpu) { + for (const g of this.gpu) { + out += g; } } return out; diff --git a/packages/playground/src/weblets/tf_deployment_list.vue b/packages/playground/src/weblets/tf_deployment_list.vue index 49039c65c2..39e9802aa0 100644 --- a/packages/playground/src/weblets/tf_deployment_list.vue +++ b/packages/playground/src/weblets/tf_deployment_list.vue @@ -206,9 +206,12 @@ @click="openDialog(tabs[activeTab].value, item)" /> - - - +