提交 24fb32d7 编写于 作者: S Sandeep Somavarapu

fix setting enablement

上级 6cab5daa
......@@ -102,7 +102,7 @@ export class UserDataSyncMachinesService extends Disposable implements IUserData
const machineData = await this.readMachinesData();
const machine = machineData.machines.find(({ id }) => id === machineId);
if (machine) {
machine.disabled = enabled ? enabled : undefined;
machine.disabled = enabled ? undefined : true;
await this.writeMachinesData(machineData);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册