mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
use enums insted of numbers
This commit is contained in:
@@ -38,6 +38,7 @@ import { Cy } from 'cypress/enum'
|
||||
import { Observable } from 'rxjs';
|
||||
import { TableSharedCalendar } from 'src/app/services/Repositorys/Agenda/agenda-local-data-source.service';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { EEventFilterStatus } from 'src/app/services/Repositorys/Agenda/model/enums';
|
||||
@Component({
|
||||
selector: 'app-agenda',
|
||||
templateUrl: './agenda.page.html',
|
||||
@@ -705,7 +706,7 @@ export class AgendaPage implements OnInit {
|
||||
calendarOwnerName: selectedCalendar.wxFullName,
|
||||
endDate: endTime.toISOString(),
|
||||
startDate: startTime.toISOString(),
|
||||
status: 3
|
||||
status: EEventFilterStatus.Approved
|
||||
})
|
||||
|
||||
if(response.isOk()) {
|
||||
|
||||
Reference in New Issue
Block a user