Skip to content

Commit 4a456bf

Browse files
committed
fix: remove notification about sort method change
The discussion tree takes some time to rebuild and for a short time there is a discrepancy between the indicated sort method and the actual sorting. This will be less of a problem if #432 is merged so the user will see that the discussion tree is being refreshed.
1 parent 4f7caba commit 4a456bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gitlab/actions/discussions/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ M.toggle_sort_method = function()
813813
else
814814
state.settings.discussion_tree.sort_by = "original_comment"
815815
end
816-
u.notify("Sort discussion tree by '" .. state.settings.discussion_tree.sort_by .. "'", vim.log.levels.INFO)
816+
winbar.update_winbar()
817817
M.rebuild_view(false, true)
818818
end
819819

0 commit comments

Comments
 (0)