From 7730c84e740d6e5393af0900438b8beccd25ede5 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Mon, 7 Nov 2022 11:01:22 +0100
Subject: Show the correct warning for system cron vs. webcron/ajax

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 apps/settings/src/components/BasicSettings/BackgroundJob.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'apps/settings/src/components/BasicSettings/BackgroundJob.vue')

diff --git a/apps/settings/src/components/BasicSettings/BackgroundJob.vue b/apps/settings/src/components/BasicSettings/BackgroundJob.vue
index f4c2e2d149e..d9b8758d5f5 100644
--- a/apps/settings/src/components/BasicSettings/BackgroundJob.vue
+++ b/apps/settings/src/components/BasicSettings/BackgroundJob.vue
@@ -29,11 +29,11 @@
 				{{ t('settings', 'Last job execution ran {time}. Something seems wrong.', {time: relativeTime}) }}
 			</NcNoteCard>
 
-			<NcNoteCard v-else-if="longExecutionNotCron" type="warning">
+			<NcNoteCard v-else-if="longExecutionCron" type="warning">
 				{{ t('settings', "Some jobs have not been executed since {maxAgeRelativeTime}. Please consider increasing the execution frequency.", {maxAgeRelativeTime}) }}
 			</NcNoteCard>
 
-			<NcNoteCard v-else-if="longExecutionCron" type="warning">
+			<NcNoteCard v-else-if="longExecutionNotCron" type="warning">
 				{{ t('settings', "Some jobs have not been executed since {maxAgeRelativeTime}. Please consider switching to system cron.", {maxAgeRelativeTime}) }}
 			</NcNoteCard>
 
-- 
cgit v1.2.3

