Skip to content

Commit

Permalink
Add query fix for algo pages (#8)
Browse files Browse the repository at this point in the history
* fix: replace privacy and imprint footer url

* fix: broken query for algo pages
  • Loading branch information
Abrom8 authored Oct 10, 2024
1 parent b3dc472 commit 16acaca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 7 additions & 5 deletions src/@utils/aquarius/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,15 @@ export async function getAlgorithmDatasetsForCompute(
const baseQueryParams = {
chainIds: [datasetChainId],
nestedQuery: {
must: {
match_phrase: {
'services.compute.publisherTrustedAlgorithms.did': {
query: algorithmId
must: [
{
match_phrase: {
'services.compute.publisherTrustedAlgorithms.did': {
query: algorithmId
}
}
}
}
]
},
sortOptions: {
sortBy: SortTermOptions.Created,
Expand Down
10 changes: 8 additions & 2 deletions src/components/Footer/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@ export default function Links(): ReactElement {
<div className={styles.section}>
<p className={styles.title}>{privacyTitle}</p>
<div className={styles.links}>
<Button href="https://pontus-x.eu/imprint" className={styles.link}>
<Button
href="https://portal.pontus-x.eu/imprint"
className={styles.link}
>
Imprint
</Button>
<Button href="https://pontus-x.eu/privacy/en" className={styles.link}>
<Button
href="https://portal.pontus-x.eu/privacy/en"
className={styles.link}
>
Privacy
</Button>
{appConfig.privacyPreferenceCenter === 'true' && (
Expand Down

0 comments on commit 16acaca

Please sign in to comment.