refactor: handle grid inactive
This commit is contained in:
parent
4528836f17
commit
8c89d32e77
1 changed files with 6 additions and 0 deletions
|
|
@ -608,6 +608,9 @@ watch([() => pageState.inputSearch, workflowPageSize], fetchWorkflowList);
|
|||
<template v-slot:item="props">
|
||||
<section class="col-12 col-md-4 column">
|
||||
<div
|
||||
:class="{
|
||||
'status-inactive': props.row.status === 'INACTIVE',
|
||||
}"
|
||||
class="surface-1 rounded bordered row no-wrap col"
|
||||
style="overflow: hidden"
|
||||
>
|
||||
|
|
@ -624,6 +627,9 @@ watch([() => pageState.inputSearch, workflowPageSize], fetchWorkflowList);
|
|||
<div
|
||||
v-if="fieldSelected.includes('name')"
|
||||
class="text-weight-bold col-12 ellipsis-2-lines"
|
||||
:class="{
|
||||
'app-text-muted': props.row.status === 'INACTIVE',
|
||||
}"
|
||||
>
|
||||
{{ props.row.name }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue