mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: description.
This commit is contained in:
1 parent
ac6242098d
commit
1b3fcbbeaa
1 file changed
+1
-1
@@ -131,7 +131,7 @@ export const backupPolicyDescription = (
|
||||
: `A backup will run daily at ${timeFormatted}.`;
|
||||
|
||||
case 'weekly': {
|
||||
const daysArray = weeklySelectedDays || ['Monday'];
|
||||
const daysArray = weeklySelectedDays.length ? weeklySelectedDays : ['Monday'];
|
||||
const dayString =
|
||||
daysArray.length > 1
|
||||
? daysArray.slice(0, -1).join(', ') + ' and ' + daysArray.slice(-1)
|
||||
|
||||
Reference in new issue
Block a user