When searching for a user, the projected DBInbound only contains the matching clients, so isRemovable evaluated to alse (since a single match made clients.value.length === 1), hiding the Delete button. Pass the original total client count from the parent's clientCount prop and use it in the isRemovable check instead of the projected clients array length. |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| composables | ||
| entries | ||
| i18n | ||
| models | ||
| pages | ||
| utils | ||