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
2020-04-09 08:00:07 +02:00
committed by GitHub
parent 02d303a595
commit bbfe628a32
@@ -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;
},