File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
resources/scripts/components/server/backups Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ const BackupContainer = () => {
6565 }
6666 < Can action = { 'backup.create' } >
6767 < div css = { tw `mt-6 sm:flex items-center justify-end` } >
68- { ( backupLimit > 0 && backups . items . length > 0 ) &&
68+ { ( backupLimit > 0 && backups . pagination . total > 0 ) &&
6969 < p css = { tw `text-sm text-neutral-300 mb-4 sm:mr-6 sm:mb-0` } >
70- { backups . items . length } of { backupLimit } backups have been created for this server.
70+ { backups . pagination . total } of { backupLimit } backups have been created for this server.
7171 </ p >
7272 }
73- { backupLimit > 0 && backupLimit !== backups . items . length &&
73+ { backupLimit > 0 && backupLimit !== backups . pagination . total &&
7474 < CreateBackupButton css = { tw `w-full sm:w-auto` } />
7575 }
7676 </ div >
You can’t perform that action at this time.
0 commit comments