Skip to content

Commit

Permalink
readability
Browse files Browse the repository at this point in the history
  • Loading branch information
canptura committed Dec 19, 2024
1 parent e9815a0 commit 28c5191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/management-system-v2/lib/data/legacy/machine-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ export async function addParentConfigVersion(
versionName: string,
versionDescription: string,
) {
let versions = machineConfigInput.versions.slice(0);
let versions = Array.from(machineConfigInput.versions);
versions.push({
id: versionId,
name: versionName,
Expand Down

0 comments on commit 28c5191

Please sign in to comment.