File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -492,11 +492,11 @@ function copyToClipboard(index) {
492492
493493 let copyText = "" ; // Initialize copyText variable
494494 // Todo
495- if ( index == NONE ) {
495+ if ( index === null ) {
496496 for ( const index of selectedRows ) {
497497 const entry = appEntriesDataGlobal [ index ] ;
498498 if ( isShowingMatches ) {
499- copyText = `${ entry . appfilter } ` ;
499+ copyText + = `${ entry . appfilter } ` ;
500500 } else {
501501 copyText += `${ entry . appNameAppfilter } \n${ entry . appfilter } \n` ;
502502 }
@@ -524,9 +524,7 @@ function copyToClipboard(index) {
524524 console . error ( 'Unable to copy to clipboard:' , error ) ;
525525 } ) ;
526526}
527- setTimeout ( ( ) => {
528- document . getElementById ( 'copy-notification' ) . style . display = 'none' ;
529- } , 3000 ) ;
527+
530528// Copy Selected to clipboard function
531529function copySelectedToClipboard ( ) {
532530 var copyText = "" ;
You can’t perform that action at this time.
0 commit comments