Skip to content
Snippets Groups Projects
Commit 861dd45a authored by Florent POITTEVIN's avatar Florent POITTEVIN
Browse files

fix: date format on org unit list

parent 6e04c7fb
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ import {FieldTypeEnum} from "@shared/enums/field-type.enum";
import {LocalStateEnum} from "@shared/enums/local-state.enum";
import {RouterExtService} from "@shared/services/router-ext.service";
import {
OrderEnum,
MARK_AS_TRANSLATABLE,
OrderEnum,
} from "solidify-frontend";
@Component({
......@@ -63,7 +63,7 @@ export class AdminOrgunitListRoutable extends SharedAbstractListRoutable<Organiz
{
field: "openingDate",
header: MARK_AS_TRANSLATABLE("admin.organizationalUnit.table.header.openingDate"),
type: FieldTypeEnum.string,
type: FieldTypeEnum.date,
order: OrderEnum.none,
isFilterable: false,
isSortable: true,
......@@ -71,7 +71,7 @@ export class AdminOrgunitListRoutable extends SharedAbstractListRoutable<Organiz
{
field: "closingDate" as any,
header: MARK_AS_TRANSLATABLE("admin.organizationalUnit.table.header.closingDate"),
type: FieldTypeEnum.string,
type: FieldTypeEnum.date,
order: OrderEnum.none,
isFilterable: false,
isSortable: true,
......
......@@ -31,9 +31,9 @@ import {SharedNotificationAction} from "@shared/stores/notification/shared-notif
import {tap} from "rxjs/operators";
import {
isNullOrUndefined,
MARK_AS_TRANSLATABLE,
OrderEnum,
ResourceState,
MARK_AS_TRANSLATABLE,
} from "solidify-frontend";
@Component({
......@@ -127,7 +127,7 @@ export class OrgunitListRoutable extends SharedAbstractListRoutable<Organization
{
field: "openingDate",
header: MARK_AS_TRANSLATABLE("organizationalUnit.table.header.openingDate"),
type: FieldTypeEnum.string,
type: FieldTypeEnum.date,
order: OrderEnum.none,
isFilterable: false,
isSortable: true,
......@@ -135,7 +135,7 @@ export class OrgunitListRoutable extends SharedAbstractListRoutable<Organization
{
field: "closingDate" as any,
header: MARK_AS_TRANSLATABLE("organizationalUnit.table.header.closingDate"),
type: FieldTypeEnum.string,
type: FieldTypeEnum.date,
order: OrderEnum.none,
isFilterable: false,
isSortable: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment