mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 10:31:35 +00:00
Fix book filter avatar sizes and bookUpdate on refresh
This commit is contained in:
parent
7882dd35ac
commit
bee30eafa9
@ -359,7 +359,7 @@ const BookControl = ({
|
||||
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
|
||||
<RobotAvatar
|
||||
shortAlias={coordinator.shortAlias}
|
||||
style={{ width: '1.428em', height: '1.428em' }}
|
||||
style={{ width: '1.55em', height: '1.55em' }}
|
||||
smooth={true}
|
||||
small={true}
|
||||
/>
|
||||
|
@ -824,7 +824,7 @@ const BookTable = ({
|
||||
<Grid item xs={6}>
|
||||
<IconButton
|
||||
onClick={() => {
|
||||
void federation.update();
|
||||
void federation.updateBook();
|
||||
}}
|
||||
>
|
||||
<Refresh />
|
||||
|
@ -108,6 +108,7 @@ export class Federation {
|
||||
|
||||
updateBook = async (): Promise<void> => {
|
||||
this.loading = true;
|
||||
this.triggerHook('onCoordinatorUpdate');
|
||||
this.exchange.loadingCoordinators = Object.keys(this.coordinators).length;
|
||||
for (const coor of Object.values(this.coordinators)) {
|
||||
await coor.updateBook(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user