Merge branch 'master' into backup-size-details

This commit is contained in:
NaiJi ✨ 2024-04-17 20:49:05 +03:00
commit f603fe4e0f
1 changed files with 8 additions and 2 deletions

View File

@ -38,8 +38,14 @@ class BackupDetailsPage extends StatelessWidget {
: StateType.uninitialized;
final bool preventActions = backupsState.preventActions;
final List<Backup> backups = backupsState.backups;
final List<Service> services =
context.watch<ServicesBloc>().state.servicesThatCanBeBackedUp;
final List<Service> services = context
.watch<ServicesBloc>()
.state
.servicesThatCanBeBackedUp
.where(
(final service) => service.isEnabled,
)
.toList();
final Duration? autobackupPeriod = backupsState.autobackupPeriod;
final List<ServerJob> backupJobs = context
.watch<ServerJobsBloc>()