mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update scenes to 0.2 (#65676)
* Update scenes to latest * Replace FormatRegistryID with VariableFormatID * Remove scene demos that were moved to scenes repo, fix the remaining demos * Fix grafana Monitoring app * DashboardsLoader migration * Fix test
This commit is contained in:
@@ -20,7 +20,7 @@ import {
|
||||
VariableSuggestionsScope,
|
||||
} from '@grafana/data';
|
||||
import { getTemplateSrv } from '@grafana/runtime';
|
||||
import { FormatRegistryID } from '@grafana/scenes';
|
||||
import { VariableFormatID } from '@grafana/schema';
|
||||
import { getConfig } from 'app/core/config';
|
||||
import { getTimeSrv } from 'app/features/dashboard/services/TimeSrv';
|
||||
|
||||
@@ -305,7 +305,7 @@ export class LinkSrv implements LinkService {
|
||||
};
|
||||
|
||||
if (replaceVariables) {
|
||||
info.href = replaceVariables(info.href, undefined, FormatRegistryID.percentEncode);
|
||||
info.href = replaceVariables(info.href, undefined, VariableFormatID.PercentEncode);
|
||||
info.title = replaceVariables(link.title);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user