mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* moved the plugins admin to core and used the plugins toggle to decide which version to use. * reverted change. * changed so the library tab is the default one. * fixing navigation. # * fixed so we have the proper header. * including the core plugins * fixed so we display logos for local plugins. * fixed so we have a working version of plugin catalog. * removed console logs. * reverted changes. * fixing failed test.
14 lines
248 B
TypeScript
14 lines
248 B
TypeScript
import { getLocationSrv } from '@grafana/runtime';
|
|
|
|
export const useHistory = () => {
|
|
return {
|
|
push: ({ query }: any) => {
|
|
getLocationSrv().update({
|
|
partial: true,
|
|
replace: false,
|
|
query,
|
|
});
|
|
},
|
|
};
|
|
};
|