mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 09:00:06 +00:00
fix issue where shared item not appearing if target conversation already open
This commit is contained in:
parent
25e3e46e7e
commit
41f8f707b9
@ -17,6 +17,7 @@ export function Selector({ share, selected, channels }: { share: { filePath: str
|
||||
if (share) {
|
||||
setTopic(null);
|
||||
setShow(true);
|
||||
actions.clearFocus();
|
||||
}
|
||||
}, [share]);
|
||||
|
||||
|
@ -18,6 +18,7 @@ export function useSelector() {
|
||||
}
|
||||
|
||||
const actions = {
|
||||
clearFocus: app.actions.clearFocus,
|
||||
}
|
||||
|
||||
return { state, actions }
|
||||
|
Loading…
Reference in New Issue
Block a user