Co-authored-by: gorbenko.pavel <gorbenko.pavel@tansu.kz> Reviewed-on: http://git.tnsu.kz/timur.gorodetskiy/request-portal/pulls/8
This commit was merged in pull request #8.
This commit is contained in:
@@ -200,7 +200,8 @@ export const SearchView: React.FC<ISearchViewProps> = ({
|
||||
};
|
||||
|
||||
load().catch(() => undefined);
|
||||
const unsubscribe = onRequestsChanged(() => {
|
||||
const unsubscribe = onRequestsChanged((force) => {
|
||||
if (force) setRows(undefined);
|
||||
load().catch(() => undefined);
|
||||
});
|
||||
const timer = window.setInterval(() => {
|
||||
|
||||
Reference in New Issue
Block a user