mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Merge eb97333d0f into 3311a38aae
This commit is contained in:
commit
15da9b8558
2 changed files with 5 additions and 0 deletions
|
|
@ -1429,6 +1429,8 @@ const ChannelsTable = ({ onReady }) => {
|
|||
setShowDisabled={setShowDisabled}
|
||||
showOnlyStreamlessChannels={showOnlyStreamlessChannels}
|
||||
setShowOnlyStreamlessChannels={setShowOnlyStreamlessChannels}
|
||||
pagination={pagination}
|
||||
setPagination={setPagination}
|
||||
/>
|
||||
|
||||
{/* Table or ghost empty state inside Paper */}
|
||||
|
|
|
|||
|
|
@ -112,6 +112,8 @@ const ChannelTableHeader = ({
|
|||
setShowDisabled,
|
||||
showOnlyStreamlessChannels,
|
||||
setShowOnlyStreamlessChannels,
|
||||
pagination,
|
||||
setPagination,
|
||||
}) => {
|
||||
const theme = useMantineTheme();
|
||||
|
||||
|
|
@ -232,6 +234,7 @@ const ChannelTableHeader = ({
|
|||
};
|
||||
|
||||
const toggleShowOnlyStreamlessChannels = () => {
|
||||
setPagination({ ...pagination, pageIndex: 0 });
|
||||
setShowOnlyStreamlessChannels(!showOnlyStreamlessChannels);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue