Skip to content

Commit

Permalink
add redirect link
Browse files Browse the repository at this point in the history
  • Loading branch information
raiindev committed Nov 25, 2024
1 parent 27cda2d commit 8355365
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion admin/src/components/SchemaMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ const SchemaMapper = ({ collection, contentTypeSchema, onSchemaChange }) => {
}
}

const handleDocumentationRedirect = () => {
window.open('https://docs.orama.com/cloud/data-sources/native-integrations/strapi', '_blank', 'noopener')
}

return (
<Box marginBottom={2} width="100%">
<Typography variant="beta" fontWeight="bold">
Expand Down Expand Up @@ -193,7 +197,13 @@ const SchemaMapper = ({ collection, contentTypeSchema, onSchemaChange }) => {
position="right"
label="You need to transform this attribute's data. Click for more info."
>
<Status variant="primary" size="S" showBullet={false} style={{ marginLeft: 10 }}>
<Status
variant="primary"
size="S"
showBullet={false}
style={{ marginLeft: 10 }}
onClick={handleDocumentationRedirect}
>
<div
style={{
display: 'flex',
Expand Down

0 comments on commit 8355365

Please sign in to comment.