mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
fix calendar list
This commit is contained in:
@@ -705,7 +705,7 @@ export class AgendaPage implements OnInit {
|
||||
calendarOwnerName: selectedCalendar.wxFullName,
|
||||
endDate: endTime.toISOString(),
|
||||
startDate: startTime.toISOString(),
|
||||
status: -1
|
||||
status: 3
|
||||
})
|
||||
|
||||
if(response.isOk()) {
|
||||
|
||||
@@ -67,7 +67,7 @@ export class AgendaDataRepositoryService {
|
||||
|
||||
}
|
||||
|
||||
async EventList({ userId, startDate, endDate, status = 2, category = null, type = null, calendarOwnerName = '' }) {
|
||||
async EventList({ userId, startDate, endDate, status = 3, category = null, type = null, calendarOwnerName = '' }) {
|
||||
|
||||
try {
|
||||
const result = await this.agendaDataService.getEvents(userId, startDate, endDate, status, category, type).pipe(
|
||||
@@ -81,7 +81,7 @@ export class AgendaDataRepositoryService {
|
||||
}
|
||||
}
|
||||
|
||||
async eventToApproveList({ userId, startDate = null, endDate = null, status = 0, category = null, type = null, calendarOwnerName = '' }) {
|
||||
async eventToApproveList({ userId, startDate = null, endDate = null, status = 1, category = null, type = null, calendarOwnerName = '' }) {
|
||||
|
||||
try {
|
||||
const result = await this.agendaDataService.getEvents(userId, startDate = null, endDate = null, status, category = null, type = null).pipe(
|
||||
|
||||
Reference in New Issue
Block a user