mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Fetching tags globally every 30 seconds, rather than for each usage of Tags.
This commit is contained in:
parent
e9f820d483
commit
7a855b57cc
8 changed files with 30 additions and 41 deletions
|
|
@ -42,7 +42,7 @@ import _ from 'lodash';
|
|||
import {FileBrowser} from "./FileBrowser";
|
||||
import {refreshDirectoryFiles, refreshFiles} from "../api";
|
||||
import {useSubscribeEventName} from "../Events";
|
||||
import {TagsContext, TagsDropdown, TagsProvider} from "../Tags";
|
||||
import {TagsDropdown} from "../Tags";
|
||||
|
||||
function EbookCard({file}) {
|
||||
const {s} = useContext(ThemeContext);
|
||||
|
|
@ -347,9 +347,7 @@ export function FilesView({
|
|||
{selectButton}
|
||||
{viewButton}
|
||||
{limitDropdown}
|
||||
<TagsProvider>
|
||||
<TagsFilesGroupDropdown/>
|
||||
</TagsProvider>
|
||||
<TagsFilesGroupDropdown/>
|
||||
{filterOptions && filtersDropdown}
|
||||
</Grid.Column>
|
||||
{menuColumns}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue