Skip to content

Commit 85ed5e4

Browse files
committed
fix: double p
1 parent 5e859d6 commit 85ed5e4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/containers/Storage/PaginatedStorageGroups/PaginatedStorageGroups.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ export function PaginatedStorageGroups(props: PaginatedStorageProps) {
1818
useStorageQueryParams();
1919

2020
const capabilitiesLoaded = useCapabilitiesLoaded();
21-
const storageGroupsHandlerHasGroupping = useStorageGroupsHandlerHasGrouping();
21+
const storageGroupsHandlerHasGrouping = useStorageGroupsHandlerHasGrouping();
2222

2323
// Other filters do not fit with grouping
2424
// Reset them if grouping available
2525
React.useEffect(() => {
26-
if (storageGroupsHandlerHasGroupping && visibleEntities !== 'all') {
26+
if (storageGroupsHandlerHasGrouping && visibleEntities !== 'all') {
2727
handleShowAllGroups();
2828
}
29-
}, [handleShowAllGroups, storageGroupsHandlerHasGroupping, visibleEntities]);
29+
}, [handleShowAllGroups, storageGroupsHandlerHasGrouping, visibleEntities]);
3030

3131
const renderContent = () => {
32-
if (storageGroupsHandlerHasGroupping && storageGroupsGroupByParam) {
32+
if (storageGroupsHandlerHasGrouping && storageGroupsGroupByParam) {
3333
return <GroupedStorageGroupsComponent {...props} />;
3434
}
3535

src/containers/Storage/PaginatedStorageGroups/StorageGroupsComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function StorageGroupsComponent({
1919
}: PaginatedStorageProps) {
2020
const {searchValue, visibleEntities, handleShowAllGroups} = useStorageQueryParams();
2121

22-
const storageGroupsHandlerHasGroupping = useStorageGroupsHandlerHasGrouping();
22+
const storageGroupsHandlerHasGrouping = useStorageGroupsHandlerHasGrouping();
2323

2424
const {columnsToShow, columnsToSelect, setColumns} = useStorageGroupsSelectedColumns({
2525
visibleEntities,
@@ -31,7 +31,7 @@ export function StorageGroupsComponent({
3131
controls={
3232
<StorageGroupsControlsWithTableState
3333
withTypeSelector
34-
withGroupBySelect={storageGroupsHandlerHasGroupping}
34+
withGroupBySelect={storageGroupsHandlerHasGrouping}
3535
columnsToSelect={columnsToSelect}
3636
handleSelectedColumnsUpdate={setColumns}
3737
/>

0 commit comments

Comments
 (0)