diff --git a/app/components/DatasetSidebar.tsx b/app/components/DatasetSidebar.tsx index ef490403..4919a77e 100644 --- a/app/components/DatasetSidebar.tsx +++ b/app/components/DatasetSidebar.tsx @@ -65,7 +65,7 @@ const DatasetSidebar: React.FunctionComponent = (props) => setHideCommitNudge } = props - const { path, fsiPath, history, status, components } = workingDataset + const { fsiPath, history, status, components } = workingDataset const { activeTab, @@ -94,7 +94,7 @@ const DatasetSidebar: React.FunctionComponent = (props) => } } - const historyToolTip = path || !datasetSelected ? 'Explore older versions of this dataset' : 'This dataset has no previous versions' + const historyToolTip = history.value.length !== 0 || !datasetSelected ? 'Explore older versions of this dataset' : 'This dataset has no previous versions' return (