X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/10ce16c28de952f6533ca3cc9df909269e3d2a53..2ef3823ee2205b76af73f3fa4440395bdb3aac5d:/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 28817766..a523d6fc 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 { @@ -19,17 +19,16 @@ export class CollectionDetails extends DetailsData { getDetails() { return
- + - + - {/* Links but we dont have view */} - - + + {/* Missing attrs */} - - + +
; } }