File tree Expand file tree Collapse file tree
src/components/dashboards/legacy Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ import {
2222 MONITORING_DASHBOARDS_DEFAULT_TIMESPAN ,
2323 MONITORING_DASHBOARDS_VARIABLE_ALL_OPTION_KEY ,
2424} from './utils' ;
25- import { useOpenshiftProject } from './useOpenshiftProject ' ;
25+ import { useLegacyDashboardsProject } from './useLegacyDashboardsProject ' ;
2626
2727export const useLegacyDashboards = ( urlBoard : string ) => {
2828 const { t } = useTranslation ( 'plugin__monitoring-plugin' ) ;
2929 const { perspective } = usePerspective ( ) ;
30- const { project } = useOpenshiftProject ( ) ;
30+ const { project } = useLegacyDashboardsProject ( ) ;
3131
3232 // eslint-disable-next-line react-hooks/exhaustive-deps
3333 const safeFetch = useCallback ( useSafeFetch ( ) , [ ] ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { useMonitoring } from '../../../hooks/useMonitoring';
99import { useParams } from 'react-router' ;
1010import { dashboardsPatchVariable } from '../../../store/actions' ;
1111
12- export const useOpenshiftProject = ( ) => {
12+ export const useLegacyDashboardsProject = ( ) => {
1313 const { perspective } = usePerspective ( ) ;
1414 const [ activeNamespace , setActiveNamespace ] = useActiveNamespace ( ) ;
1515 const { ns : routeNamespace } = useParams < { ns ?: string } > ( ) ;
You can’t perform that action at this time.
0 commit comments