Skip to content

Commit

Permalink
Merge pull request #496 from diggsweden/DIGG-467
Browse files Browse the repository at this point in the history
DIGG-467: loadOnlyPublicEntries
  • Loading branch information
AlessandroGasperini authored Nov 8, 2024
2 parents 68ab075 + ca2dfc7 commit 689ce2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/navigation/MainNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const MainNav: FC<MainNavProps> = ({ setOpenSideBar, openSideBar }) => {
className={`${
openSearch
? "hidden lg:block"
: "min-w-0 max-h-[2rem] w-full max-w-[10rem] md:max-h-[2.75rem] md:max-w-[15.5rem]"
: "max-h-[2rem] w-full min-w-0 max-w-[10rem] md:max-h-[2.75rem] md:max-w-[15.5rem]"
}`}
/>
)}
Expand Down
1 change: 1 addition & 0 deletions providers/EntrystoreProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ export const EntrystoreProvider: React.FC<EntrystoreProviderProps> = ({
const util = new ESJS.EntryStoreUtil(
new ESJS.EntryStore(`https://editera.dataportal.se/store`),
);
util.loadOnlyPublicEntries(true);

const conformsToEntries = await util.loadEntriesByResourceURIs(
conformsToURIs,
Expand Down

0 comments on commit 689ce2a

Please sign in to comment.