Browse Source

Add panel to table search

master
jeffvli 3 years ago
parent
commit
ab42dfd799
  1. 3
      src/components/search/SearchView.tsx

3
src/components/search/SearchView.tsx

@ -1,6 +1,7 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import settings from 'electron-settings'; import settings from 'electron-settings';
import { useQuery } from 'react-query'; import { useQuery } from 'react-query';
import { Panel } from 'rsuite';
import { search3 } from '../../api/api'; import { search3 } from '../../api/api';
import useRouterQuery from '../../hooks/useRouterQuery'; import useRouterQuery from '../../hooks/useRouterQuery';
import GenericPage from '../layout/GenericPage'; import GenericPage from '../layout/GenericPage';
@ -112,6 +113,7 @@ const SearchView = () => {
<SectionTitleWrapper> <SectionTitleWrapper>
<SectionTitle>Songs</SectionTitle> <SectionTitle>Songs</SectionTitle>
</SectionTitleWrapper> </SectionTitleWrapper>
<Panel bodyFill bordered>
<ListViewTable <ListViewTable
height={500} height={500}
data={data.song} data={data.song}
@ -134,6 +136,7 @@ const SearchView = () => {
dnd={false} dnd={false}
virtualized virtualized
/> />
</Panel>
</> </>
)} )}
</GenericPage> </GenericPage>

Loading…
Cancel
Save