mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Add dedicated refresh button to list views (#235)
This commit is contained in:
@@ -368,6 +368,16 @@ export const AlbumListHeaderFilters = ({ gridRef, tableRef }: AlbumListHeaderFil
|
|||||||
<RiFilterFill size="1.3rem" />
|
<RiFilterFill size="1.3rem" />
|
||||||
</Button>
|
</Button>
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
|
<Button
|
||||||
|
compact
|
||||||
|
size="md"
|
||||||
|
tooltip={{ label: 'Refresh' }}
|
||||||
|
variant="subtle"
|
||||||
|
onClick={handleRefresh}
|
||||||
|
>
|
||||||
|
<RiRefreshLine size="1.3rem" />
|
||||||
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<DropdownMenu position="bottom-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -356,6 +356,16 @@ export const AlbumArtistListHeaderFilters = ({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
|
<Button
|
||||||
|
compact
|
||||||
|
size="md"
|
||||||
|
tooltip={{ label: 'Refresh' }}
|
||||||
|
variant="subtle"
|
||||||
|
onClick={handleRefresh}
|
||||||
|
>
|
||||||
|
<RiRefreshLine size="1.3rem" />
|
||||||
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<DropdownMenu position="bottom-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -266,6 +266,16 @@ export const GenreListHeaderFilters = ({ gridRef, tableRef }: GenreListHeaderFil
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
|
<Button
|
||||||
|
compact
|
||||||
|
size="md"
|
||||||
|
tooltip={{ label: 'Refresh' }}
|
||||||
|
variant="subtle"
|
||||||
|
onClick={handleRefresh}
|
||||||
|
>
|
||||||
|
<RiRefreshLine size="1.3rem" />
|
||||||
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<DropdownMenu position="bottom-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -282,6 +282,16 @@ export const PlaylistListHeaderFilters = ({
|
|||||||
onToggle={handleToggleSortOrder}
|
onToggle={handleToggleSortOrder}
|
||||||
/>
|
/>
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
|
<Button
|
||||||
|
compact
|
||||||
|
size="md"
|
||||||
|
tooltip={{ label: 'Refresh' }}
|
||||||
|
variant="subtle"
|
||||||
|
onClick={handleRefresh}
|
||||||
|
>
|
||||||
|
<RiRefreshLine size="1.3rem" />
|
||||||
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<DropdownMenu position="bottom-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -360,6 +360,16 @@ export const SongListHeaderFilters = ({ tableRef }: SongListHeaderFiltersProps)
|
|||||||
<RiFilterFill size="1.3rem" />
|
<RiFilterFill size="1.3rem" />
|
||||||
</Button>
|
</Button>
|
||||||
<Divider orientation="vertical" />
|
<Divider orientation="vertical" />
|
||||||
|
<Button
|
||||||
|
compact
|
||||||
|
size="md"
|
||||||
|
tooltip={{ label: 'Refresh' }}
|
||||||
|
variant="subtle"
|
||||||
|
onClick={handleRefresh}
|
||||||
|
>
|
||||||
|
<RiRefreshLine size="1.3rem" />
|
||||||
|
</Button>
|
||||||
|
<Divider orientation="vertical" />
|
||||||
<DropdownMenu position="bottom-start">
|
<DropdownMenu position="bottom-start">
|
||||||
<DropdownMenu.Target>
|
<DropdownMenu.Target>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user