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
This commit is contained in:
Vikky Omkar authored and GitHub committed 2020-04-09 08:00:07 +02:00
1 parent 02d303a595
commit bbfe628a32
1 file changed
+1 -1
@@ -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;
},