refactor: add stats canceled
This commit is contained in:
parent
f394b09dd3
commit
05acfe9116
2 changed files with 7 additions and 6 deletions
|
|
@ -151,12 +151,12 @@ watch([() => pageState.inputSearch, () => pageState.statusFilter], () =>
|
|||
label: 'requestList.status.Completed',
|
||||
color: 'light-green',
|
||||
},
|
||||
// {
|
||||
// icon: 'mdi-close-circle-outline',
|
||||
// count: 0,
|
||||
// label: 'requestList.status.Canceled',
|
||||
// color: 'red',
|
||||
// },
|
||||
{
|
||||
icon: 'mdi-close-circle-outline',
|
||||
count: stats[RequestDataStatus.Canceled],
|
||||
label: 'requestList.status.Canceled',
|
||||
color: 'red',
|
||||
},
|
||||
]"
|
||||
:dark="$q.dark.isActive"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ export const useRequestList = defineStore('request-list', () => {
|
|||
[RequestDataStatus.Pending]: 0,
|
||||
[RequestDataStatus.InProgress]: 0,
|
||||
[RequestDataStatus.Completed]: 0,
|
||||
[RequestDataStatus.Canceled]: 0,
|
||||
});
|
||||
|
||||
type TypeFile =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue