mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed loading more nodes for tag
This commit is contained in:
parent
24c9d21ce3
commit
46506f3541
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import { apiGetTagSuggestions, apiGetNodesOfTag } from '~/redux/tag/api';
|
||||||
import { Unwrap } from '~/redux/types';
|
import { Unwrap } from '~/redux/types';
|
||||||
|
|
||||||
function* loadTagNodes({ tag }: ReturnType<typeof tagLoadNodes>) {
|
function* loadTagNodes({ tag }: ReturnType<typeof tagLoadNodes>) {
|
||||||
yield put(tagSetNodes({ isLoading: true, list: [] }));
|
yield put(tagSetNodes({ isLoading: true }));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const { list }: ReturnType<typeof selectTagNodes> = yield select(selectTagNodes);
|
const { list }: ReturnType<typeof selectTagNodes> = yield select(selectTagNodes);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue