We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3757c1a commit 1de6f69Copy full SHA for 1de6f69
app/ui/src/components/log_view.ts
@@ -51,17 +51,26 @@ export class LogView {
51
this.renderLogs()
52
}
53
54
+ private setLoading(isLoading: boolean) {
55
+ this.loadMoreButton.disabled = isLoading
56
+ this.loadAllButton.disabled = isLoading
57
+ }
58
+
59
private onLoadMoreClick = () => {
60
+ this.setLoading(true)
61
this.loadPage(this.toLoadPage).then((logs) => {
62
this.logs.mergeLogs(logs)
63
64
+ this.setLoading(false)
65
})
66
67
68
private onLoadAllClick = () => {
69
70
this.loadPage(LogUpdateType.ALL).then((logs) => {
71
72
73
74
75
76
0 commit comments