Skip to content

Commit

Permalink
fixed statistic page (#55)
Browse files Browse the repository at this point in the history
* auto annotation change + update packages

* annotation box now move with vide indicator

* Update README.md

* Update README.md

* expose the dataset through window.dataset

* upgrade third party apis

* optimizations

* added env var

* fix d3 breaking changes

* added search and download dataset

* fixed datatype for the download object

* added redirect

* fixed tooltips

* fix statstic with no data to show
  • Loading branch information
Alaboudi1 authored Mar 15, 2021
1 parent ade2327 commit 6bb5761
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/datasetePage/statsticsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ export default function StatsticsPage({ dataset }) {

const getTabcontent = () => {
const annotation = annotationsStatstics[tabId];
if (annotation === undefined)
return (
<>
{" "}
<h3>No data available to show!</h3>
</>
);
const subannotationsStatstics = getAnnotationsStatstics(
annotation.subAnnotations
);
Expand Down

1 comment on commit 6bb5761

@vercel
Copy link

@vercel vercel bot commented on 6bb5761 Mar 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.