mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-19 18:13:41 -05:00
web/timeline: fix history loading indicator color
Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
8de715558f
commit
327ca2a0ec
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ const TimelineView = () => {
|
|||
return <div className="timeline-view" onScroll={handleScroll} ref={timelineViewRef}>
|
||||
<div className="timeline-beginning">
|
||||
{room.hasMoreHistory ? <button onClick={loadHistory} disabled={isLoadingHistory}>
|
||||
{isLoadingHistory ? <><ScaleLoader /> Loading history...</> : "Load more history"}
|
||||
{isLoadingHistory
|
||||
? <><ScaleLoader color="var(--primary-color)"/> Loading history...</>
|
||||
: "Load more history"}
|
||||
</button> : "No more history available in this room"}
|
||||
</div>
|
||||
<div className="timeline-list">
|
||||
|
|
Loading…
Add table
Reference in a new issue