X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/1feb5aaffe6fee4a9c8c8c64877f1da6f3490e06..fd44760652570645bb40ff9445bb5b9305a7fa1c:/src/views-components/details-panel/collection-details.tsx diff --git a/src/views-components/details-panel/collection-details.tsx b/src/views-components/details-panel/collection-details.tsx index f0be4497..999d4c79 100644 --- a/src/views-components/details-panel/collection-details.tsx +++ b/src/views-components/details-panel/collection-details.tsx @@ -3,13 +3,13 @@ // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; -import { CollectionIcon } from '../../components/icon/icon'; -import { CollectionResource } from '../../models/collection'; -import { formatDate } from '../../common/formatters'; -import { resourceLabel } from '../../common/labels'; -import { ResourceKind } from '../../models/resource'; +import { CollectionIcon } from '~/components/icon/icon'; +import { CollectionResource } from '~/models/collection'; +import { formatDate, formatFileSize } from '~/common/formatters'; +import { resourceLabel } from '~/common/labels'; +import { ResourceKind } from '~/models/resource'; import { DetailsData } from "./details-data"; -import { DetailsAttribute } from "../../components/details-attribute/details-attribute"; +import { DetailsAttribute } from "~/components/details-attribute/details-attribute"; export class CollectionDetails extends DetailsData { @@ -21,15 +21,14 @@ export class CollectionDetails extends DetailsData { return
- + - {/* Links but we dont have view */} - - + + {/* Missing attrs */} - - + +
; } }