forked from Shinonome/dots-hyprland
Fix: Preserve chronological order of clipboard history (#2190)
This commit is contained in:
@@ -21,6 +21,9 @@ Singleton {
|
|||||||
entry: a
|
entry: a
|
||||||
}))
|
}))
|
||||||
function fuzzyQuery(search: string): var {
|
function fuzzyQuery(search: string): var {
|
||||||
|
if (search.trim() === "") {
|
||||||
|
return entries;
|
||||||
|
}
|
||||||
if (root.sloppySearch) {
|
if (root.sloppySearch) {
|
||||||
const results = entries.slice(0, 100).map(str => ({
|
const results = entries.slice(0, 100).map(str => ({
|
||||||
entry: str,
|
entry: str,
|
||||||
|
|||||||
Reference in New Issue
Block a user