[frontend] Add email domain
This commit is contained in:
parent
f387e8b6c6
commit
e775c4f8f6
|
@ -37,7 +37,7 @@
|
|||
</ng-template>
|
||||
<mat-list-item *ngFor="let email of emails">
|
||||
<div class="entry">
|
||||
{{ email.name }}
|
||||
{{ email.name }}@{{ domain }}
|
||||
<button
|
||||
mat-icon-button
|
||||
[matMenuTriggerFor]="menu"
|
||||
|
|
|
@ -2,12 +2,11 @@ import { Component, OnInit, Input } from '@angular/core';
|
|||
import { Observable } from 'rxjs/internal/Observable';
|
||||
import { EmailService, HoodsService } from 'src/app/core/api';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { Router } from '@angular/router';
|
||||
import { EmailDialogComponent } from '../email-dialog/email-dialog.component';
|
||||
import { EmailInfoDialogComponent } from '../email-info-dialog/email-info-dialog.component';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { BotStatus } from '../../../core/model/status';
|
||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||
import { environment } from 'src/environments/environment';
|
||||
|
||||
@Component({
|
||||
selector: 'app-email-settings',
|
||||
|
@ -18,6 +17,7 @@ export class EmailSettingsComponent implements OnInit {
|
|||
@Input() hoodId;
|
||||
emails$: Observable<Array<any>>;
|
||||
start = false;
|
||||
domain = environment.EMAIL_DOMAIN;
|
||||
|
||||
constructor(
|
||||
private emailService: EmailService,
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
export const environment = {
|
||||
production: false,
|
||||
API_BASE_PATH: 'http://localhost:8000',
|
||||
EMAIL_DOMAIN: 'localhost',
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue