mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-13 19:33:55 +03:00
console: fix autofill url while editing rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10244 GitOrigin-RevId: 37d2e8f226878dcfe3901ce975c0296a1d9ad939
This commit is contained in:
parent
167e8f4cae
commit
3810b9f70d
@ -125,7 +125,7 @@ export const RestEndpointForm: React.FC<RestEndpointFormProps> = ({
|
||||
if (!userChangedName) {
|
||||
setValue('name', operation.name?.value);
|
||||
}
|
||||
if (!userChangedUrl) {
|
||||
if (!userChangedUrl && mode === 'create') {
|
||||
setValue(
|
||||
'url',
|
||||
operation.name?.value
|
||||
|
Loading…
Reference in New Issue
Block a user