refactor(web/menu): make context menu metadata progress optional

This commit is contained in:
Luke
2023-02-07 12:44:15 +01:00
parent 4a9137ad04
commit fbd9832c9c

View File

@@ -10,7 +10,7 @@ export interface Option {
iconColor?: string;
progress?: number;
colorScheme?: string;
metadata?: string[] | { [key: string]: any } | { label: string; value: any; progress: number; }[];
metadata?: string[] | { [key: string]: any } | { label: string; value: any; progress?: number }[];
disabled?: boolean;
event?: string;
serverEvent?: string;