Fix Condition for deleted App (#17096)

This commit is contained in:
Mohit Yadav 2024-07-19 12:38:54 +05:30 committed by GitHub
parent 7c80c07eab
commit 75fcb03041
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ public class AbstractNativeApplication implements NativeApplication {
@Override
public void install() {
// If the app does not have any Schedule Return without scheduling
if (Boolean.FALSE.equals(app.getDeleted())
if (Boolean.TRUE.equals(app.getDeleted())
|| (app.getAppSchedule() != null
&& app.getAppSchedule().getScheduleTimeline().equals(ScheduleTimeline.NONE))) {
return;