Fixed empty copying overwriting clipboard
This commit is contained in:
parent
c488b626bf
commit
909daa4dc2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export class SignalClipboard {
|
||||||
|
|
||||||
const { ops } = contents;
|
const { ops } = contents;
|
||||||
|
|
||||||
if (ops === undefined) {
|
if (ops === undefined || !ops.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue