feat: Added file formatting
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { DateTime } from 'luxon';
|
||||
import { AdminCommService } from 'src/app/admin-view/admin-comm.service';
|
||||
import { Component, Input } from '@angular/core'
|
||||
import { DateTime } from 'luxon'
|
||||
import { AdminCommService } from 'src/app/admin-view/admin-comm.service'
|
||||
|
||||
@Component({
|
||||
selector: 'app-message',
|
||||
templateUrl: './message.component.html',
|
||||
styleUrl: './message.component.scss',
|
||||
standalone: false
|
||||
selector: 'app-message',
|
||||
templateUrl: './message.component.html',
|
||||
styleUrl: './message.component.scss',
|
||||
standalone: false,
|
||||
})
|
||||
export class MessageComponent {
|
||||
@Input() item!: {_id: string, sentDate: DateTime, title: string}
|
||||
@Input() item!: { _id: string; sentDate: DateTime; title: string }
|
||||
body?: string
|
||||
rcpts?: {_id: string, uname: string, room?: string, fname?: string, surname?: string}[]
|
||||
rcpts?: {
|
||||
_id: string
|
||||
uname: string
|
||||
room?: string
|
||||
fname?: string
|
||||
surname?: string
|
||||
}[]
|
||||
loading: boolean = false
|
||||
constructor (readonly acu: AdminCommService) {}
|
||||
constructor(readonly acu: AdminCommService) {}
|
||||
|
||||
getMessage() {
|
||||
this.loading = true
|
||||
|
||||
Reference in New Issue
Block a user