mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Add home's data to local storage
This commit is contained in:
@@ -37,13 +37,20 @@ export class CalendarService {
|
||||
}
|
||||
|
||||
ResetList(eventSource: eventSource[]) {
|
||||
this._eventSource = eventSource
|
||||
this._eventSource = eventSource
|
||||
|
||||
setTimeout(() => {
|
||||
this.localstoreService.set(this.keyName, this._eventSource)
|
||||
}, 10)
|
||||
|
||||
}
|
||||
|
||||
get eventSource() {
|
||||
return this._eventSource
|
||||
}
|
||||
|
||||
|
||||
|
||||
removeRange(rangeStartDate, rangeEndDate, profile) {
|
||||
this._eventSource = this._eventSource.filter((e)=> {
|
||||
if(new Date(rangeStartDate).getTime() <= new Date(e.startTime).getTime() &&
|
||||
|
||||
Reference in New Issue
Block a user