mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fix webapp card resync
This commit is contained in:
parent
d21473e76b
commit
5dc6cc926b
@ -15,7 +15,7 @@ export function CardItem({ item, tooltip, resync, open }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<CardItemWrapper onClick={open}>
|
<CardItemWrapper onClick={open}>
|
||||||
<Logo url={item.logo} width={32} height={32} radius={8} />
|
<Logo url={item.logo} width={32} height={32} radius={4} />
|
||||||
<div className="details">
|
<div className="details">
|
||||||
<div className="name">{ item.name }</div>
|
<div className="name">{ item.name }</div>
|
||||||
<div className="handle">{ item.handle }</div>
|
<div className="handle">{ item.handle }</div>
|
||||||
|
@ -106,7 +106,7 @@ export function useCards() {
|
|||||||
updateState({ sorted: value });
|
updateState({ sorted: value });
|
||||||
},
|
},
|
||||||
resync: async (cardId) => {
|
resync: async (cardId) => {
|
||||||
await card.actions.resync(cardId);
|
await card.actions.resyncCard(cardId);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user