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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user