fix(merge_component): 🚧 try fix delayed commit show
Try solving delayed commit show, WIP topping and string param display for commit modal
This commit is contained in:
parent
ce7d595427
commit
517e051f2d
9 changed files with 232 additions and 107 deletions
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
|
||||
<!-- File Change Status -->
|
||||
<button onclick="patch_merge_modal.showModal()" *ngIf="isCommitLoaded">
|
||||
<button onclick="patch_merge_modal.showModal()" *ngIf="isCommitLoaded | async">
|
||||
|
||||
<h1 class="text-center font-extrabold text-2xl text-red-500 animate-pulse">Detect Changes! Click</h1>
|
||||
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ export class LayoutComponent implements OnInit, OnDestroy {
|
|||
this.isCommitLoaded = Promise.resolve(true);
|
||||
}
|
||||
|
||||
// TODO: optimize
|
||||
if(data != undefined && typeof data === 'object'){
|
||||
// check if attr exists
|
||||
if(data.files != null && data.files != undefined){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue