qri-io / frontend

frontend application for our qri.cloud site
GNU General Public License v3.0
3 stars 2 forks source link

fix(NoBody): show `NoBody` component if a dataset has no body #610

Closed ramfox closed 2 years ago

ramfox commented 2 years ago

closes #593

Also removes extraneous call to get the dataset body, now that (as per https://github.com/qri-io/qri/pull/1980, when it is merged) the /ds/get endpoint returns a dataset preview if no selectors are given.

NOTE

Until the above pr is merged and then cloud is updated to use that version of qri, this PR will cause problems on the dataset preview page. We may want to wait for the backend to be pushed before merging this pr.