small fix for the display of the delete button in table view

it will turn out the following class "mr-2 d-none" instead of "mr-2-d-none" which results displaying the delete button if -> GlobalVariables.user.privileges.appointments.delete = false
This commit is contained in:
sh-dv 2021-02-06 17:49:47 +00:00 committed by GitHub
parent 1700605b7b
commit d51ca87f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1338,7 +1338,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
] ]
}), }),
$('<button/>', { $('<button/>', {
'class': 'delete-popover btn btn-outline-secondary mr-2' + displayDelete, 'class': 'delete-popover btn btn-outline-secondary mr-2 ' + displayDelete,
'html': [ 'html': [
$('<i/>', { $('<i/>', {
'class': 'fas fa-trash-alt mr-2' 'class': 'fas fa-trash-alt mr-2'