check for canEdit attribute
This commit is contained in:
parent
7670d0cac1
commit
b84e3dd572
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@
|
|||
}
|
||||
},
|
||||
async pasteSongs(event) {
|
||||
if( event.ctrlKey && event.keyCode === 86 ) {
|
||||
if( event.ctrlKey && event.keyCode === 86 && this.data.attributes.canEdit ) {
|
||||
let clipboard = await navigator.clipboard.readText()
|
||||
let songs = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue