mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DataSource: show the uid in edit url, not the local id (#33818)
This commit is contained in:
@@ -22,6 +22,7 @@ const setup = (propOverrides?: object) => {
|
||||
const props: Props = {
|
||||
options: {
|
||||
id: 1,
|
||||
uid: 'z',
|
||||
orgId: 1,
|
||||
typeLogoUrl: '',
|
||||
name: 'CloudWatch',
|
||||
|
||||
@@ -37,6 +37,7 @@ exports[`Render should disable access key id field 1`] = `
|
||||
"type": "cloudwatch",
|
||||
"typeLogoUrl": "",
|
||||
"typeName": "Cloudwatch",
|
||||
"uid": "z",
|
||||
"url": "",
|
||||
"user": "",
|
||||
"withCredentials": false,
|
||||
@@ -101,6 +102,7 @@ exports[`Render should render component 1`] = `
|
||||
"type": "cloudwatch",
|
||||
"typeLogoUrl": "",
|
||||
"typeName": "Cloudwatch",
|
||||
"uid": "z",
|
||||
"url": "",
|
||||
"user": "",
|
||||
"withCredentials": false,
|
||||
@@ -165,6 +167,7 @@ exports[`Render should show access key and secret access key fields 1`] = `
|
||||
"type": "cloudwatch",
|
||||
"typeLogoUrl": "",
|
||||
"typeName": "Cloudwatch",
|
||||
"uid": "z",
|
||||
"url": "",
|
||||
"user": "",
|
||||
"withCredentials": false,
|
||||
@@ -229,6 +232,7 @@ exports[`Render should show arn role field 1`] = `
|
||||
"type": "cloudwatch",
|
||||
"typeLogoUrl": "",
|
||||
"typeName": "Cloudwatch",
|
||||
"uid": "z",
|
||||
"url": "",
|
||||
"user": "",
|
||||
"withCredentials": false,
|
||||
@@ -293,6 +297,7 @@ exports[`Render should show credentials profile name field 1`] = `
|
||||
"type": "cloudwatch",
|
||||
"typeLogoUrl": "",
|
||||
"typeName": "Cloudwatch",
|
||||
"uid": "z",
|
||||
"url": "",
|
||||
"user": "",
|
||||
"withCredentials": false,
|
||||
|
||||
Reference in New Issue
Block a user