Skip to content

Commit

Permalink
refact: revert key/value changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiWithJai committed Dec 22, 2022
1 parent 2af8448 commit 124e95d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ui/app/serializers/variable.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ export default class VariableSerializer extends ApplicationSerializer {
// ID is a composite of both the job ID and the namespace the job is in
hash.ID = `${hash.Path}@${hash.Namespace || 'default'}`;

hash.KeyValues = Object.entries(hash.Items).map(([key, value]) => {
return {
key,
value,
};
});

return super.normalize(typeHash, hash);
}

Expand Down

0 comments on commit 124e95d

Please sign in to comment.