mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user