f (data['result'] == 'success') {
                            if (targetRow) {
                                targetRow.remove();
                            }
                            // If that was the last row, hide the empty table
                            if (targetTbody.find('tr').length == 0) {
                                targetTable.hide();
                            }
                        }
                        if (data['message']) {
                            displayToastTop({typ