Skip to content

Commit

Permalink
store/cockpitApi: fix version number
Browse files Browse the repository at this point in the history
Get rid of the `Math.floor` for the version and just ensure that
the version is a number.
  • Loading branch information
kingsleyzissou authored and lucasgarfield committed Jan 17, 2025
1 parent 3b27972 commit 1e08b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/cockpitApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const cockpitApi = emptyCockpitApi.injectEndpoints({
return {
...blueprint,
id: filename as string,
version: Math.floor(version),
version: version,
last_modified_at: Date.now().toString(),
};
})
Expand Down

0 comments on commit 1e08b22

Please sign in to comment.