-
Notifications
You must be signed in to change notification settings - Fork 22
chore(157): project-addons-ui #83
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
src/app/shared/components/addons/addon-card/addon-card.component.ts
Outdated
Show resolved
Hide resolved
src/app/shared/components/addons/addon-card/addon-card.component.spec.ts
Outdated
Show resolved
Hide resolved
src/app/shared/components/addons/addon-card/addon-card.component.scss
Outdated
Show resolved
Hide resolved
| return this.currentAddonsState().filter((card) => card.externalServiceName.includes(searchValue)); | ||
| }); | ||
|
|
||
| protected readonly tabOptions: SelectOption[] = [ |
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.
Move it to constants file. Also better to use enum instead of 1 and 0. It's not clear what these number means.
| }, | ||
| ]; | ||
|
|
||
| protected readonly categoryOptions: SelectOption[] = [ |
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.
Move it to constants file. Also better to use enum.
| @use "assets/styles/variables" as var; | ||
|
|
||
| :host { | ||
| @include mix.flex-column; |
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 prime flex instead of this mix
| export class AddonsComponent { | ||
| #store = inject(Store); | ||
| protected readonly defaultTabValue = 0; | ||
| protected readonly isMobile = toSignal(inject(IS_XSMALL)); |
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.
Remove this and make it with primeflex.
No description provided.