اختيار حالة Statuses

  _statusIcon: string = '';
  statusIcon(status: string): string {
    if (status) {
      this._statusIcon = this.statuses.find((element: any) => { return element?.id === status })?.icon;
    } else {
      this._statusIcon = '';
    }
    return this._statusIcon;
  }













 

تعليقات

المشاركات الشائعة من هذه المدونة

ngx-extended-pdf-viewer

how to getting access token for https://fcm.googleapis.com/v1/projects/al-ayahya-co/messages:send for angular and backend nestjs

طريقة تفعيل زر Inline Keyboard في Telegram Bot