This commit is contained in:
Matt Grutza 2026-01-21 22:16:03 -06:00 committed by GitHub
commit 15da9b8558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -1429,6 +1429,8 @@ const ChannelsTable = ({ onReady }) => {
setShowDisabled={setShowDisabled}
showOnlyStreamlessChannels={showOnlyStreamlessChannels}
setShowOnlyStreamlessChannels={setShowOnlyStreamlessChannels}
pagination={pagination}
setPagination={setPagination}
/>
{/* Table or ghost empty state inside Paper */}

View file

@ -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);
};