Remove completed personal shares from the assignee desk view.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-19 22:03:55 +03:30
co-authored by Cursor
parent 046adf391b
commit c3b00ae5f8
3 changed files with 12 additions and 4 deletions
@@ -444,7 +444,7 @@ async function runAction() {
const { data } = await api.patch<ActivityDto>(`/activities/${id}/complete`, undefined, {
params: undo ? { undo: '1' } : undefined,
});
if (data.status === 'done') {
if (data.status === 'done' || (!undo && data.completionMode === 'all')) {
emit('changed');
emit('close');
return;