fix: repeat preprocessing notifications

removed some logic of a8e0e06d84 before,
re-add it now
This commit is contained in:
三咲智子 2023-01-09 23:39:59 +08:00
parent 333cab0858
commit 8d77f9e9fb
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
3 changed files with 29 additions and 7 deletions

View file

@ -17,7 +17,7 @@ const {
virtualScroller?: boolean
stream?: Promise<WsEvents>
eventType?: 'notification' | 'update'
preprocess?: (items: T[]) => U[]
preprocess?: (items: (U | T)[]) => U[]
}>()
defineSlots<{