fix(ui): table actions column layout and resolved label

Move flex off td.actions to inner wrapper; show Закрыта for resolved problems. SAC 0.8.2.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-05 14:10:56 +10:00
parent 02200f1a80
commit 95c5b9f25a
6 changed files with 53 additions and 28 deletions
+20 -17
View File
@@ -50,23 +50,26 @@
<RouterLink :to="`/problems/${p.id}`">{{ p.title }}</RouterLink>
</td>
<td class="actions">
<button
v-if="p.status === 'open'"
type="button"
class="secondary"
:disabled="actingId === p.id"
@click="doAck(p.id)"
>
Ack
</button>
<button
v-if="p.status !== 'resolved'"
type="button"
:disabled="actingId === p.id"
@click="doResolve(p.id)"
>
Resolve
</button>
<div class="actions-inner">
<button
v-if="p.status === 'open'"
type="button"
class="secondary"
:disabled="actingId === p.id"
@click="doAck(p.id)"
>
Ack
</button>
<button
v-if="p.status !== 'resolved'"
type="button"
:disabled="actingId === p.id"
@click="doResolve(p.id)"
>
Resolve
</button>
<span v-if="p.status === 'resolved'" class="actions-muted">Закрыта</span>
</div>
</td>
</tr>
</tbody>