mirror of
https://github.com/outline/outline.git
synced 2026-11-28 08:14:58 +03:00
Impl PaginatedItem interface for options
This commit is contained in:
1 parent
e41aaac07b
commit
9ecd40ce76
1 file changed
+2
@@ -23,11 +23,13 @@ function UserFilter(props: Props) {
|
||||
const options = React.useMemo(() => {
|
||||
const userOptions = users.all.map((user) => ({
|
||||
key: user.id,
|
||||
id: user.id,
|
||||
label: user.name,
|
||||
}));
|
||||
return [
|
||||
{
|
||||
key: "",
|
||||
id: "",
|
||||
label: t("Any author"),
|
||||
},
|
||||
...userOptions,
|
||||
|
||||
Reference in new issue
Block a user