Skip to content

Commit

Permalink
plugin: do not run refresh when self.loading is true
Browse files Browse the repository at this point in the history
  • Loading branch information
takase1121 committed Dec 2, 2024
1 parent e290751 commit fea63c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/plugin_manager/plugin_view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ end


function PluginView:refresh(no_refetch, on_complete)
if self.loading then return end
self.loading = true
local function complete()
self.loading = false
Expand Down

0 comments on commit fea63c9

Please sign in to comment.