feat(web/context): Allow manually displaying an arrow

This commit is contained in:
Luke
2022-04-19 15:08:02 +02:00
parent f74a16d2c2
commit 08d2234484
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ const Item: React.FC<{
</Box>
)}
</Box>
{option[1].menu && (
{(option[1].menu || option[1].arrow) && (
<>
<Spacer />
<Box

View File

@@ -1,6 +1,7 @@
export interface Option {
menu?: string;
description?: string;
arrow?: boolean;
metadata?: string[] | { [key: string]: any };
event?: string;
serverEvent?: string;