Alerting: Fix editing expressions refId (#94941)

Fix refId editing
This commit is contained in:
Konrad Lalik 2024-10-21 10:49:42 +02:00 committed by GitHub
parent 98e5048370
commit 836881b713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,10 +327,6 @@ const Header: FC<HeaderProps> = ({
autoFocus
defaultValue={refId}
minWidth={5}
onChange={(event) => {
onUpdateRefId(event.currentTarget.value);
setEditMode(false);
}}
onFocus={(event) => event.target.select()}
onBlur={(event) => {
onUpdateRefId(event.currentTarget.value);