We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe19f5b + c7daeeb commit 652c95bCopy full SHA for 652c95b
lua/pieces/assets/ui.lua
@@ -98,7 +98,7 @@ local function update_preview()
98
end
99
100
function M.update()
101
- if results_popup and preview_popup then
+ if type(results_popup) == "number" and type(preview_popup) == "number" then
102
update_list()
103
update_preview()
104
lua/pieces/copilot/conversations_ui.lua
@@ -44,7 +44,7 @@ local function update_list()
44
45
46
47
- if results_popup then
+ if results_popup and type(results_popup) == "number" then
48
49
50
0 commit comments