feat(Map): Fix default sort

Fixes #22
This commit is contained in:
achichenkov
2024-10-07 10:24:54 +03:00
parent f4b7357802
commit 6e33ad943f
2 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@
} }
.p-selectable-row td { .p-selectable-row td {
padding: 8px 4px; padding: 4px 4px;
} }
.p-sortable-column > .p-column-header-content > span:last-child { .p-sortable-column > .p-column-header-content > span:last-child {

View File

@@ -34,8 +34,8 @@ type SystemSignaturesSortSettings = {
}; };
const SORT_DEFAULT_VALUES: SystemSignaturesSortSettings = { const SORT_DEFAULT_VALUES: SystemSignaturesSortSettings = {
sortField: 'eve_id', sortField: 'updated_at',
sortOrder: 1, sortOrder: -1,
}; };
interface SystemSignaturesContentProps { interface SystemSignaturesContentProps {
@@ -226,7 +226,7 @@ export const SystemSignaturesContent = ({ systemId, settings }: SystemSignatures
bodyClassName="p-0 px-1" bodyClassName="p-0 px-1"
field="group" field="group"
body={renderIcon} body={renderIcon}
style={{ maxWidth: 26, minWidth: 26, width: 26 }} style={{ maxWidth: 26, minWidth: 26, width: 26, height: 25 }}
></Column> ></Column>
<Column <Column