Fix book filter avatar sizes and bookUpdate on refresh

This commit is contained in:
Reckless_Satoshi 2024-01-24 00:09:54 +00:00
parent 7882dd35ac
commit bee30eafa9
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 3 additions and 2 deletions

View File

@ -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}
/>

View File

@ -824,7 +824,7 @@ const BookTable = ({
<Grid item xs={6}>
<IconButton
onClick={() => {
void federation.update();
void federation.updateBook();
}}
>
<Refresh />

View File

@ -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(() => {