diff --git a/web/src/views/StarredDandisetsView/StarredDandisetsView.vue b/web/src/views/StarredDandisetsView/StarredDandisetsView.vue index 7313ac0b5..05b07351f 100644 --- a/web/src/views/StarredDandisetsView/StarredDandisetsView.vue +++ b/web/src/views/StarredDandisetsView/StarredDandisetsView.vue @@ -51,12 +51,9 @@ export default defineComponent({ .map((dandiset: Dandiset) => { const version = dandiset.most_recent_published_version || dandiset.draft_version; if (!version) return null; - const rest = { ...dandiset }; - delete rest.most_recent_published_version; - delete rest.draft_version; return { ...version, - dandiset: rest, + dandiset, }; }) .filter((item): item is NonNullable => item !== null);