fix(ags): make sure we don't pass a non-string to fzf
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
9a9cfc13f6
commit
06e12f7bb1
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ export class SortedList<
|
||||||
this._entry = makeChildResult.entry;
|
this._entry = makeChildResult.entry;
|
||||||
|
|
||||||
this._entry.on_change = ({ text }) => {
|
this._entry.on_change = ({ text }) => {
|
||||||
if (text !== null) {
|
if (text !== null || typeof text === 'string') {
|
||||||
this._set_sort(text, this._list, this._placeholder);
|
this._set_sort(text, this._list, this._placeholder);
|
||||||
(this._list.get_children() as ListBoxRow[]).forEach((r) => {
|
(this._list.get_children() as ListBoxRow[]).forEach((r) => {
|
||||||
r.changed();
|
r.changed();
|
||||||
|
|
Loading…
Reference in a new issue