-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move position of masonry not to be default
- Loading branch information
1 parent
4389131
commit 7b75b24
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// SPDX-FileCopyrightText: 2023 - 2024 Dusan Mijatovic (Netherlands eScience Center) | ||
// SPDX-FileCopyrightText: 2023 - 2024 Netherlands eScience Center | ||
// SPDX-FileCopyrightText: 2023 - 2025 Dusan Mijatovic (Netherlands eScience Center) | ||
// SPDX-FileCopyrightText: 2023 - 2025 Netherlands eScience Center | ||
// SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2023 dv4all | ||
// SPDX-FileCopyrightText: 2024 Christian Meeßen (GFZ) <[email protected]> | ||
|
@@ -90,8 +90,8 @@ export default function SoftwareOverviewPage({ | |
const {createUrl} = useSoftwareOverviewParams() | ||
const {setPageLayout} = useUserSettings() | ||
const [modal,setModal] = useState(false) | ||
// if no layout - default is masonry | ||
const initView = layout ?? 'masonry' | ||
// if no layout - default is grid | ||
const initView = layout ?? 'grid' | ||
const [view, setView] = useState<LayoutType>(initView) | ||
const numPages = Math.ceil(count / rows) | ||
const filterCnt = getFilterCount() | ||
|