mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Remove redundant decodeURI and fix urls (#28697)
* Remove redundant path URIdecoding * Remove redundant comments
This commit is contained in:
@@ -194,7 +194,7 @@ export const safeParseJson = (text?: string): any | undefined => {
|
||||
}
|
||||
|
||||
try {
|
||||
return JSON.parse(decodeURI(text));
|
||||
return JSON.parse(text);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user