🔔 User Notifications v0.6

This commit is contained in:
jokob-sk
2024-06-03 07:39:27 +10:00
parent 91ff13df27
commit 8a0b8b8a10
24 changed files with 430 additions and 203 deletions

View File

@@ -290,6 +290,8 @@ function executeAction(action, whereColumnName, key, targetColumns, newTargetCol
// update API endpoints to refresh the UI
updateApi()
writeNotification(`[Multi edit] Executed "${action}" on Columns "${targetColumns}" matching "${key}"`, 'info')
} else {
showMessage(getString('Gen_LockedDB'));
}
@@ -313,9 +315,9 @@ function askDeleteSelectedDevices () {
// Delete selected devices
function deleteSelectedDevices()
{
executeAction('delete', 'dev_MAC', selectorMacs() )
macs_tmp = selectorMacs()
executeAction('delete', 'dev_MAC', macs_tmp )
writeNotification('[Multi edit] Manually deleted devices with MACs:' + macs_tmp, 'info')
}