diff --git a/frontend-modern/src/components/Backups/BackupsFilter.tsx b/frontend-modern/src/components/Backups/BackupsFilter.tsx index 3dfdf374a..5da64c1fe 100644 --- a/frontend-modern/src/components/Backups/BackupsFilter.tsx +++ b/frontend-modern/src/components/Backups/BackupsFilter.tsx @@ -9,6 +9,9 @@ interface BackupsFilterProps { groupBy: () => 'date' | 'guest'; setGroupBy: (value: 'date' | 'guest') => void; searchInputRef?: (el: HTMLInputElement) => void; + typeFilter?: () => 'all' | 'VM' | 'LXC' | 'Host'; + setTypeFilter?: (value: 'all' | 'VM' | 'LXC' | 'Host') => void; + hasHostBackups?: () => boolean; } export const BackupsFilter: Component = (props) => { @@ -107,6 +110,53 @@ export const BackupsFilter: Component = (props) => { + {/* Type Filter - Only show when there are Host backups */} + +
+ + + + +
+ +
+ {/* Group By Filter */}