Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export const FONT_FAMILY_HEADER = 'Montserrat';
// This should not be the same as OperationType.
export type DrefStatus = components<'read'>['schemas']['DrefDrefStatusEnumKey'];
export const DREF_STATUS_DRAFT = 1 satisfies DrefStatus;
export const DREF_STATUS_FINALIZED = 3 satisfies DrefStatus;
export const DREF_STATUS_APPROVED = 4 satisfies DrefStatus;
export const DREF_STATUS_FINALIZED = 2 satisfies DrefStatus;
export const DREF_STATUS_APPROVED = 3 satisfies DrefStatus;

export type TypeOfDrefEnum = components<'read'>['schemas']['DrefDrefDrefTypeEnumKey'];
export const DREF_TYPE_IMMINENT = 0 satisfies TypeOfDrefEnum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ function CompletedDrefTable(props: Props) {
dref: datum.dref,
glide_code: datum.glide_code,
date_of_publication: datum.date_of_publication,
original_language: datum.original_language,
}),
),
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function InitiativeCard(props: Props) {
} = props;

const strings = useTranslation(i18n);
const categories = initiative.categories?.join(', ');
const { categories } = initiative;

return (
<Container
Expand Down
1 change: 0 additions & 1 deletion app/src/views/DrefApplicationForm/EventDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ function EventDetail(props: Props) {
variant="secondary"
disabled={disabled || readOnly}
>
dskd
{strings.drefFormSourceInformationAddButton}
</Button>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "000050-1758013961153.json",
"parent": "000051-1758354992698.json",
"actions": [
{
"action": "add",
Expand All @@ -17,7 +17,7 @@
"action": "add",
"key": "drefFinalizeSuccessTitle",
"namespace": "accountMyFormsDref",
"value": "Successfully finalize the DREF!"
"value": "Successfully finalized the DREF!"
},
{
"action": "add",
Expand Down
Loading