Skip to content

Commit

Permalink
Remove console log and refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
temhota committed Feb 20, 2024
1 parent 559d094 commit d4b8ddc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/static/js/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ function addDevice(deviceName, isDeviceTool) {
}

function updateDevice(deviceId, deviceName) {
console.log("updateDevice", deviceId, deviceName);
// Prepare device data
const deviceData = {
name: deviceName,
Expand All @@ -138,7 +137,6 @@ function updateDevice(deviceId, deviceName) {
// Check if response status code is 200 (OK)
if (response.status === 200) {
alert("Device updated successfully!");
refreshDevicesList();
} else {
alert("Error updating device. Please try again later.");
}
Expand Down

0 comments on commit d4b8ddc

Please sign in to comment.