Skip to content

Commit

Permalink
Merge pull request #4494 from corentin-soriano/icon_container
Browse files Browse the repository at this point in the history
Remove list-item-clicktoshow from icon-container.
  • Loading branch information
nilsteampassnet authored Nov 26, 2024
2 parents 8004e27 + 6134a45 commit 1262138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/items.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -4321,10 +4321,10 @@ function(teampassApplication) {
// Show user that password is badly encrypted
(value.pw_status === 'encryption_error' ? '<i class="fa-solid fa-exclamation-triangle fa-xs text-danger infotip mr-1" title="<?php echo $lang->get('pw_encryption_error'); ?>"></i>' : '') +
// Prepare item info
'</span>' +
'<span class="list-item-clicktoshow d-inline-flex' + (value.rights === 10 ? '' : ' pointer') + '" data-item-id="' + value.item_id + '" data-item-key="' + value.item_key + '">' +
// Show item fa_icon if set
(value.fa_icon !== '' ? '<i class="'+value.fa_icon+' mr-1 user-fa-icon"></i>' : '') +
'</span>' +
'<span class="list-item-row-description d-inline-block' + (value.rights === 10 ? ' font-weight-light' : '') + '"><i class="item-favorite-star fa-solid' + ((store.get('teampassApplication').highlightFavorites === 1 && value.is_favourited === 1) ? ' fa-star mr-1' : '') + '"></i>' + value.label + '</span>' + (value.rights === 10 ? '' : description) +
'<span class="list-item-row-description-extend"></span>' +
'</span>' +
Expand Down

0 comments on commit 1262138

Please sign in to comment.