Skip to content

Commit

Permalink
Merge pull request #47 from pieces-app/fix-updating
Browse files Browse the repository at this point in the history
fix update issue
  • Loading branch information
shivaypiece authored Aug 26, 2024
2 parents fe19f5b + c7daeeb commit 652c95b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/pieces/assets/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ local function update_preview()
end

function M.update()
if results_popup and preview_popup then
if type(results_popup) == "number" and type(preview_popup) == "number" then
update_list()
update_preview()
end
Expand Down
2 changes: 1 addition & 1 deletion lua/pieces/copilot/conversations_ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ local function update_list()

end
function M.update()
if results_popup then
if results_popup and type(results_popup) == "number" then
update_list()
end
end
Expand Down

0 comments on commit 652c95b

Please sign in to comment.