17 lines
549 B
TypeScript
17 lines
549 B
TypeScript
import { Component, computed } from '@angular/core';
|
|
import { MerchantService } from '../../../services/merchant.service';
|
|
import { DividerComponent } from '../../divider/divider.component';
|
|
|
|
@Component({
|
|
selector: 'app-merchants',
|
|
imports: [
|
|
DividerComponent
|
|
],
|
|
templateUrl: './merchants.component.html',
|
|
styleUrl: './merchants.component.scss'
|
|
})
|
|
export class MerchantsComponent {
|
|
protected merchants = computed(() => this.merchantService.merchants());
|
|
|
|
public constructor(private readonly merchantService: MerchantService) { }
|
|
}
|