1
1
mirror of https://github.com/neosubhamoy/neodlp.git synced 2026-03-22 15:05:48 +05:30

feat: added clear, copy log buttons and pagination in completed downloads

This commit is contained in:
2026-01-09 23:40:35 +05:30
Verified
parent 01f4e96101
commit 2b7ab9def4
10 changed files with 214 additions and 15 deletions

View File

@@ -114,7 +114,9 @@ export const useDownloaderPageStatesStore = create<DownloaderPageStatesStore>((s
export const useLibraryPageStatesStore = create<LibraryPageStatesStore>((set) => ({
activeTab: 'completed',
setActiveTab: (tab) => set(() => ({ activeTab: tab }))
activeCompletedDownloadsPage: 1,
setActiveTab: (tab) => set(() => ({ activeTab: tab })),
setActiveCompletedDownloadsPage: (page) => set(() => ({ activeCompletedDownloadsPage: page }))
}));
export const useDownloadActionStatesStore = create<DownloadActionStatesStore>((set) => ({