projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19988-data-explorer-sorting' into main. Closes #19988
[arvados-workbench2.git]
/
src
/
views
/
collection-content-address-panel
/
collection-content-address-panel.tsx
diff --git
a/src/views/collection-content-address-panel/collection-content-address-panel.tsx
b/src/views/collection-content-address-panel/collection-content-address-panel.tsx
index 8e8266cc22a732b05be7ce48f3308a4f6db33aa2..ea23ce51239bc29a67199e45ddc5b36e90ccf105 100644
(file)
--- a/
src/views/collection-content-address-panel/collection-content-address-panel.tsx
+++ b/
src/views/collection-content-address-panel/collection-content-address-panel.tsx
@@
-40,13
+40,13
@@
type CssRules = 'backLink' | 'backIcon' | 'root' | 'content';
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
backLink: {
const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
backLink: {
- fontSize: '1
4
px',
+ fontSize: '1
2
px',
fontWeight: 600,
display: 'flex',
alignItems: 'center',
padding: theme.spacing.unit,
marginBottom: theme.spacing.unit,
fontWeight: 600,
display: 'flex',
alignItems: 'center',
padding: theme.spacing.unit,
marginBottom: theme.spacing.unit,
- color: theme.palette.grey["
7
00"],
+ color: theme.palette.grey["
5
00"],
},
backIcon: {
marginRight: theme.spacing.unit
},
backIcon: {
marginRight: theme.spacing.unit
@@
-67,12
+67,12
@@
enum CollectionContentAddressPanelColumnNames {
LAST_MODIFIED = "Last modified"
}
LAST_MODIFIED = "Last modified"
}
-export const collectionContentAddressPanelColumns: DataColumns<string> = [
+export const collectionContentAddressPanelColumns: DataColumns<string
, CollectionResource
> = [
{
name: CollectionContentAddressPanelColumnNames.COLLECTION_WITH_THIS_ADDRESS,
selected: true,
configurable: true,
{
name: CollectionContentAddressPanelColumnNames.COLLECTION_WITH_THIS_ADDRESS,
selected: true,
configurable: true,
- sort
Direction: SortDirection.NONE
,
+ sort
: {direction: SortDirection.NONE, field: "uuid"}
,
filters: createTree(),
render: uuid => <ResourceName uuid={uuid} />
},
filters: createTree(),
render: uuid => <ResourceName uuid={uuid} />
},
@@
-94,7
+94,7
@@
export const collectionContentAddressPanelColumns: DataColumns<string> = [
name: CollectionContentAddressPanelColumnNames.LAST_MODIFIED,
selected: true,
configurable: true,
name: CollectionContentAddressPanelColumnNames.LAST_MODIFIED,
selected: true,
configurable: true,
- sort
Direction: SortDirection.DESC
,
+ sort
: {direction: SortDirection.DESC, field: "modifiedAt"}
,
filters: createTree(),
render: uuid => <ResourceLastModifiedDate uuid={uuid} />
}
filters: createTree(),
render: uuid => <ResourceLastModifiedDate uuid={uuid} />
}