Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui improvement in milestone #970

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ui improvement in milestone
Signed-off-by: RaunakSharma002 <raunaksharma22345@gmail.com>
  • Loading branch information
RaunakSharma002 committed Jun 6, 2023
commit 4c2e35246ec46f914dc6320c5e9b9774f947a0a5
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
border: none;
overflow-y: auto;
overflow-x: hidden;
border-radius: 10px;
border-radius: 5px;
height: 100%;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2 class="modal-title font-weight-bold pt-1" id="exampleModalLongTitle">
</span>
</div>
<div class="modal-body" style="max-height: 500px;overflow-y: auto;">
<form>
<form *ngIf="!showLoader && !showClose">
<div *ngIf="popupHandlerService.addTaskActive">
<div class="m-1 border-bottom">
<div class="row p-1">
Expand Down Expand Up @@ -61,6 +61,7 @@ <h3 *ngIf="allTasks.length ==0" class="text-center">No Tasks to Show!</h3>
</ng-container>
</div>
</form>
<app-loader *ngIf="showLoader && !showClose"></app-loader>
<div *ngIf="!popupHandlerService.addTaskActive">
<div class="row mx-5">
<div class="col-md-4"></div>
Expand Down
2 changes: 2 additions & 0 deletions src/app/body/milestone-details/add-task/add-task.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class AddTaskComponent implements OnInit {
@Input("milestoneId") milestoneId:string;
@Output() getTasks: EventEmitter<string> = new EventEmitter();
showLoader: boolean = false;
showClose:boolean;
componentName = "MILESTONES"
constructor(public popupHandlerService: PopupHandlerService, public toolsService:ToolsService, public backendService:BackendService, private functions: AngularFireFunctions, public errorHandlerService: ErrorHandlerService, public authService: AuthService) { }

Expand All @@ -55,6 +56,7 @@ export class AddTaskComponent implements OnInit {
},
complete: (() =>{ this.getTasks.emit()
this.popupHandlerService.addTaskActive = false;
this.showClose = true;
})
});

Expand Down