Skip to content

Commit

Permalink
Merge pull request #22 from weshaan/master
Browse files Browse the repository at this point in the history
deepsource issues
  • Loading branch information
nmarulo authored Oct 31, 2024
2 parents 84b246b + 98605a8 commit 96c2d0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class HeaderShoppingListComponent {

@Output() saveEvent = new EventEmitter<void>();

@Input() isEditOrNew: boolean = false;
@Input() isEditOrNew = false;

@Input({required: true})
set nameShoppingList(value: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class AddProductsShoppingListComponent implements OnInit, AfterContentIni

products = signal<Array<ProductInstantSearch>>([]);

@Input('id') idShoppingList: number = 0;
@Input('id') idShoppingList = 0;

nameProductFormControl = new FormControl('', {nonNullable: true});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ export class ModalNavbarComponent {

actionsModal = input.required<ActionModal[]>();

getIdTabModal(value: string): string {
getIdTabModal(value: string): string {
return value + '-action-modal-tab';
}

getIdContentTabModal(value: string): string {
getIdContentTabModal(value: string): string {
return value + '-action-modal-content';
}

getClassesFirstContentTabModal(first?: boolean) {
getClassesFirstContentTabModal(first?: boolean) {
return first ? 'show active' : '';
}
}

0 comments on commit 96c2d0c

Please sign in to comment.