fix: remove refresh button from transfer state tab (#63592)

TransferState is only written into the DOM once during SSR and is not kept in sync with the runtime state on the client. Pressing the refresh button always re-reads the initial serialized script tag, which never changes after bootstrap.

PR Close #63592
This commit is contained in:
Avcharov Hryhorii
2025-09-04 11:24:07 +02:00
committed by Andrew Scott
parent 948b8113ed
commit ef025880cc
3 changed files with 0 additions and 21 deletions
@@ -4,11 +4,6 @@
<mat-icon>swap_horiz</mat-icon>
Transfer State
</h2>
<div class="actions">
<button ng-button btnType="icon" (click)="refresh()" matTooltip="Refresh transfer state">
<mat-icon>refresh</mat-icon>
</button>
</div>
</div>
@if (isLoading()) {
@@ -26,18 +26,6 @@
height: 1.25rem;
}
}
.actions {
display: flex;
gap: 0.5rem;
align-items: center;
button {
display: flex;
align-items: center;
gap: 0.25rem;
}
}
}
.loading {
@@ -142,10 +142,6 @@ export class TransferStateComponent {
}
}
refresh(): void {
this.loadTransferState();
}
isValueLong(element: HTMLElement, isExpanded: boolean = false): boolean {
if (isExpanded) return true;