fix(actions): dispatching filter should not match for "live" keyword

fixes #1420
This commit is contained in:
kiyan
2022-07-12 10:15:45 +02:00
parent 6a49a0301f
commit 0f96e32326

View File

@@ -113,7 +113,7 @@ end
function M.dispatch(action) function M.dispatch(action)
if view.is_help_ui() or action == "toggle_help" then if view.is_help_ui() or action == "toggle_help" then
handle_action_on_help_ui(action) handle_action_on_help_ui(action)
elseif action:match "live" ~= nil then elseif action == "live_filter" or action == "clear_live_filter" then
handle_filter_actions(action) handle_filter_actions(action)
else else
handle_tree_actions(action) handle_tree_actions(action)