Fixed huge bug with link in library
This commit is contained in:
parent
5c539a0b4b
commit
8a9d354503
|
@ -40,7 +40,6 @@ import {
|
||||||
filterHasAttributes,
|
filterHasAttributes,
|
||||||
isDefined,
|
isDefined,
|
||||||
isDefinedAndNotEmpty,
|
isDefinedAndNotEmpty,
|
||||||
isUndefined,
|
|
||||||
sortContent,
|
sortContent,
|
||||||
} from "helpers/others";
|
} from "helpers/others";
|
||||||
|
|
||||||
|
@ -742,7 +741,10 @@ export function ContentLine(props: ContentLineProps): JSX.Element {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isDefined(content) && (
|
{isDefined(content) && (
|
||||||
<Button href={`/contents/${slug}`} text={langui.open_content} />
|
<Button
|
||||||
|
href={`/contents/${content.slug}`}
|
||||||
|
text={langui.open_content}
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue