Fix notification and other small fixes

This commit is contained in:
Ly-sec 2025-08-05 20:15:11 +02:00
parent fb68300746
commit 69d84752f3
10 changed files with 366 additions and 338 deletions

View file

@ -296,9 +296,9 @@ PanelWithOverlay {
const searchTerm = query.slice(5).trim();
clipboardHistory.forEach(function(clip, index) {
let searchContent = clip.type === 'image' ?
clip.mimeType :
clip.content || clip; // Support both new object format and old string format
let searchContent = clip.type === 'image' ?
clip.mimeType :
clip.content || clip; // Support both new object format and old string format
if (!searchTerm || searchContent.toLowerCase().includes(searchTerm)) {
let entry;