fix: apikey model access
This commit is contained in:
@@ -37,6 +37,12 @@ interface SelectPanelProps {
|
||||
selectedKeys: string[];
|
||||
notFoundContent?: React.ReactNode;
|
||||
onSelectChange: (selectedKeys: string[]) => void;
|
||||
styles?: {
|
||||
container?: React.CSSProperties;
|
||||
left?: React.CSSProperties;
|
||||
right?: React.CSSProperties;
|
||||
header?: React.CSSProperties;
|
||||
};
|
||||
}
|
||||
|
||||
const SelectPanel: React.FC<SelectPanelProps> = ({
|
||||
@@ -46,6 +52,7 @@ const SelectPanel: React.FC<SelectPanelProps> = ({
|
||||
selectedKeys,
|
||||
searchPlaceholder,
|
||||
notFoundContent,
|
||||
styles,
|
||||
onSelectChange
|
||||
}) => {
|
||||
const intl = useIntl();
|
||||
@@ -150,9 +157,13 @@ const SelectPanel: React.FC<SelectPanelProps> = ({
|
||||
};
|
||||
|
||||
return (
|
||||
<PanelWrapper $maxHeight={height} $leftWidth={leftWidth}>
|
||||
<PanelWrapper
|
||||
$maxHeight={height}
|
||||
$leftWidth={leftWidth}
|
||||
style={styles?.container}
|
||||
>
|
||||
<Left>
|
||||
<Header>
|
||||
<Header style={styles?.header}>
|
||||
<span
|
||||
style={{
|
||||
display: 'flex',
|
||||
|
||||
Reference in New Issue
Block a user