Skip to content

Commit

Permalink
cleanup and auth added
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Unit committed Dec 13, 2023
1 parent e322eb6 commit 1e4eea0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 2 additions & 0 deletions apps/rda/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Eleasticsearch api endpoint
VITE_ELASTICSEARCH_API_ENDPOINT = ''
VITE_ELASTICSEARCH_API_USER = ''
VITE_ELASTICSEARCH_API_PASS = ''

## DANS packaging key
VITE_PACKAGING_KEY = ''
Expand Down
3 changes: 0 additions & 3 deletions apps/rda/src/pages/search/index.module.css

This file was deleted.

7 changes: 3 additions & 4 deletions apps/rda/src/pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import {
} from "@dans-framework/rdt-search-ui";
import { Rda2Result } from "./result";
import { useNavigate } from "react-router-dom";

import styles from "./index.module.css";
import Container from "@mui/material/Container";

const config: Partial<RDTSearchUIProps> = {
fullTextFields: ["title^2", "dc_description"],
Expand All @@ -28,7 +27,7 @@ export function RdaSearch({
}) {
const navigate = useNavigate();
return (
<div className={styles.wrapper}>
<Container sx={{ pt: 4 }}>
<FacetedSearch
dashboard={dashboard}
fullTextFields={config.fullTextFields}
Expand Down Expand Up @@ -98,6 +97,6 @@ export function RdaSearch({
}}
/>
</FacetedSearch>
</div>
</Container>
);
}
2 changes: 1 addition & 1 deletion packages/rdt-search-ui

0 comments on commit 1e4eea0

Please sign in to comment.