File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lua/gitlab/actions/discussions Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,12 +145,12 @@ local add_drafts_and_resolvable = function(
145145 if resolvable_count ~= 0 then
146146 base_title = base_title .. M .get_resolved_text (focused , resolved_count , resolvable_count )
147147 end
148- if drafts_count ~= 0 then
149- base_title = base_title .. M .get_drafts_text (base_title , drafts_count , focused )
150- end
151148 if non_resolvable_count ~= 0 then
152149 base_title = base_title .. M .get_nonresolveable_text (base_title , non_resolvable_count , focused )
153150 end
151+ if drafts_count ~= 0 then
152+ base_title = base_title .. M .get_drafts_text (base_title , drafts_count , focused )
153+ end
154154 return base_title
155155end
156156
217217M .get_resolved_text = function (focused , resolved_count , resolvable_count )
218218 local text = focused and (" %#GitlabResolved#" .. state .settings .discussion_tree .resolved .. " %#Text#" )
219219 or state .settings .discussion_tree .resolved
220- return " " .. string.format (" %d/%d%s " , resolved_count , resolvable_count , text )
220+ return " " .. string.format (" %d%s /%d" , resolved_count , text , resolvable_count )
221221end
222222
223223M .get_drafts_text = function (base_title , drafts_count , focused )
You can’t perform that action at this time.
0 commit comments