Skip to content

Commit

Permalink
js cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
btoneill committed Oct 14, 2024
1 parent bffa054 commit 837ae20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion webpack/components/ProxmoxComputeSelectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const ProxmoxComputeSelectors = {
{ value: 'unsafe', label: 'Write back unsafe' },
{ value: 'none', label: 'No cache' },
],

proxmoxBackupsMap: [
{ value: '1', label: 'Yes' },
{ value: '0', label: 'No' },
Expand Down
1 change: 0 additions & 1 deletion webpack/components/ProxmoxServer/components/HardDisk.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const HardDisk = ({
const handleChange = e => {
const { name, value } = e.target;
const updatedKey = Object.keys(hdd).find(key => hdd[key].name === name);

if (updatedKey === 'controller') {
const updatedDeviceInfo = createUniqueDevice('hard_disk', value);
if (updatedDeviceInfo) {
Expand Down

0 comments on commit 837ae20

Please sign in to comment.