mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
parent
db91a2e1d5
commit
11edcef279
@ -54,6 +54,7 @@ const GlobalSearchProvider: FC<Props> = ({ children }: Props) => {
|
|||||||
if (isCommandKeyPress(event) && event.key === Keys.K) {
|
if (isCommandKeyPress(event) && event.key === Keys.K) {
|
||||||
setVisible(true);
|
setVisible(true);
|
||||||
selectRef.current?.focus();
|
selectRef.current?.focus();
|
||||||
|
event.preventDefault();
|
||||||
} else if (event.key === Keys.ESC) {
|
} else if (event.key === Keys.ESC) {
|
||||||
handleCancel();
|
handleCancel();
|
||||||
}
|
}
|
||||||
|
@ -263,5 +263,5 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Source map
|
// Source map
|
||||||
devtool: 'eval-cheap-source-map',
|
devtool: 'eval-cheap-module-source-map',
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user