filterTasks(filteredTask: ITaskItem)
{
let key: keyof ITaskListState;
for (key in this.tasks)
{
this.tasks[key] = this.tasks[key].filter((task: ITaskItem) => task !== filteredTask);
console.log(key);
}
}
tasksObj = {
toDos: new Array<Task>(),
inProgress: new Array<Task>(),
finished: new Array<Task>(),
}
if(this.tasksObj.toDos.includes(task))
{
this.tasksObj.toDos.splice(task, 1, result)
}
openAlertDialog(alertText: string)
{
this.dialog.open(AlertModalDialogComponent, {
data: { alertText: alertText }
});
}
if(...)
this.openAlertDialog(alertText);
#mainNav{
box-shadow: none;
/* background-color: transparent;*/
font-family: "Merriweather Sans";
}
.navigation{
width: 100%;
position: fixed;
top: 0;
right: 0;
left: 0;
/*z-index: 1030;*/
border: 2px solid black;
}
.nav-container{
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
width: 75%;
padding-left: 200px;
}