Commit bbfe628a by Vikky Omkar Committed by GitHub

Templating: Fix global variable "__org.id" (#23362)

* Fixed global variable __org.id value

* correct orgId value

* reverted the change as variables moved to new file
parent 02d303a5
......@@ -97,7 +97,7 @@ export const completeDashboardTemplating = (dashboard: DashboardModel): ThunkRes
templateSrv.setGlobalVariable('__org', {
value: {
name: contextSrv.user.orgName,
id: contextSrv.user.id,
id: contextSrv.user.orgId,
toString: function() {
return this.id;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment