diff --git a/python/lsst/ts/rubintv/templates/mosaic.jinja b/python/lsst/ts/rubintv/templates/mosaic.jinja index 2409d58..e9633a6 100644 --- a/python/lsst/ts/rubintv/templates/mosaic.jinja +++ b/python/lsst/ts/rubintv/templates/mosaic.jinja @@ -4,12 +4,6 @@ Latest Mosaic {% endblock pagesubtitle %} -{% block undertitle %} -{% if date %} -
{{ date }}
-{% endif %} -{% endblock undertitle %} - {% block breadcrumb %} Home diff --git a/src/js/components/MosaicView.js b/src/js/components/MosaicView.js index 61b53b1..1678644 100644 --- a/src/js/components/MosaicView.js +++ b/src/js/components/MosaicView.js @@ -6,14 +6,12 @@ import { metadataType, mosaicSingleView, } from "./componentPropTypes" -import { simpleGet } from "../modules/utils" const commonColumns = ["seqNum"] -export default function MosaicView({ locationName, camera, initialDate }) { +export default function MosaicView({ locationName, camera }) { const [historicalBusy, setHistoricalBusy] = useState(null) const [currentMeta, setCurrentMeta] = useState({}) - const [date, setDate] = useState(initialDate) const initialViews = camera.mosaic_view_meta.map((view) => ({ ...view, @@ -23,7 +21,7 @@ export default function MosaicView({ locationName, camera, initialDate }) { useEffect(() => { function handleMetadataChange(event) { - const { datestamp, data, dataType } = event.detail + const { data, dataType } = event.detail if (Object.entries(data).length < 1 || dataType !== "metadata") { return } @@ -51,7 +49,7 @@ export default function MosaicView({ locationName, camera, initialDate }) { useEffect(() => { function handleChannelEvent(event) { - const { datestamp, data } = event.detail + const { data } = event.detail if (!data) { return } @@ -70,9 +68,6 @@ export default function MosaicView({ locationName, camera, initialDate }) { return (
-

- Mosaic View: {date} -