-
Notifications
You must be signed in to change notification settings - Fork 22
My registrations page #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…to feat/262-my-registration
…to feat/262-my-registration
| public draftId: string, | ||
| public attributes: Partial<RegistrationAttributesJsonApi>, | ||
| public relationships?: Partial<RegistrationRelationshipsJsonApi> | ||
| public attributes: Partial<DraftRegistrationAttributesJsonApi>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use here not JsonApi model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess no, but I double-check
src/app/features/registries/pages/my-registrations/my-registrations.component.html
Outdated
Show resolved
Hide resolved
src/app/features/registries/pages/my-registrations/my-registrations.component.html
Outdated
Show resolved
Hide resolved
src/app/features/registries/pages/my-registrations/my-registrations.component.ts
Show resolved
Hide resolved
| private router = inject(Router); | ||
| private readonly route = inject(ActivatedRoute); | ||
|
|
||
| private readonly translateService = inject(TranslateService); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used here. Remove it.
|
|
||
| export interface RegistrationsStateModel { | ||
| registrations: AsyncStateModel<RegistrationModel[]>; | ||
| registrations: AsyncStateModel<RegistrationCard[]> & { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use AsyncStateWithTotalCount.
No description provided.