diff --git a/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentCirculationExtras.js b/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentCirculationExtras.js index 3269dc605..964786df4 100644 --- a/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentCirculationExtras.js +++ b/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentCirculationExtras.js @@ -2,7 +2,7 @@ import React from "react"; import _get from "lodash/get"; import _isEmpty from "lodash/isEmpty"; import { invenioConfig } from "@inveniosoftware/react-invenio-app-ils"; -import { Embed, Header, Button, Divider } from "semantic-ui-react"; +import { Embed, Button, Divider } from "semantic-ui-react"; import PropTypes from "prop-types"; import { shelfLink } from "../../../utils"; diff --git a/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentItemBody.js b/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentItemBody.js index e81c0284b..0e9674ad2 100644 --- a/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentItemBody.js +++ b/ui/src/overridden/frontsite/Document/DocumentDetails/DocumentItemBody.js @@ -29,7 +29,7 @@ function renderShelflink(item) { : shelfLinkComponent(shelfLink(shelfNumber), shelfNumber); return ( - {itemShelf != undefined ? itemShelf : "-"} + {itemShelf !== undefined ? itemShelf : "-"} ); }