Another round of lots of updates to fix little bugs here there and everywhere.
This commit is contained in:
@@ -224,7 +224,7 @@ async function handle_get_device_info(event_device_id) {
|
||||
console.log(up_event_device_result);
|
||||
}
|
||||
})
|
||||
.catch(function (error) {
|
||||
.catch(function (error: any) {
|
||||
console.log('No results returned or failed.');
|
||||
console.log(error);
|
||||
});
|
||||
|
||||
@@ -237,7 +237,7 @@ let ae_promises: key_val = $state({});
|
||||
}).then(() => {
|
||||
// Optionally, you can provide feedback to the user
|
||||
alert('Journal entry deleted successfully!');
|
||||
}).catch((error) => {
|
||||
}).catch((error: any) => {
|
||||
console.error('Error deleting journal entry:', error);
|
||||
alert('Failed to delete journal entry.');
|
||||
}).finally(() => {
|
||||
|
||||
Reference in New Issue
Block a user