Skip to content

Commit

Permalink
Show active volumes in UI by default
Browse files Browse the repository at this point in the history
  • Loading branch information
r4victor committed Oct 9, 2024
1 parent 5e08e4f commit f6a30bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Volumes/List/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const useVolumesData = ({ project_name, only_active }: TVolumesListReques
};

export const useFilters = (storagePrefix?: string) => {
const [onlyActive, setOnlyActive] = useLocalStorageState<boolean>(`${storagePrefix}volume-list-is-active`, false);
const [onlyActive, setOnlyActive] = useLocalStorageState<boolean>(`${storagePrefix}volume-list-is-active`, true);
const [selectedProject, setSelectedProject] = useState<SelectCSDProps.Option | null>(null);

const { data: projectsData } = useGetProjectsQuery();
Expand Down

0 comments on commit f6a30bd

Please sign in to comment.