Skip to content

Commit e39cdae

Browse files
committed
fix endpoint.url check
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent ad7a884 commit e39cdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/config/section/compute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ export default {
717717
name: 'endpoint.url'
718718
}
719719
const json = await getAPI('listConfigurations', params)
720-
const configuration = json?.listconfigurationsresponse?.configuration || {}
720+
const configuration = json?.listconfigurationsresponse?.configuration?.[0] || {}
721721
return !configuration.value || configuration.value.startsWith('http://localhost')
722722
},
723723
actions: [

0 commit comments

Comments
 (0)