mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix reactive action issue
This commit is contained in:
parent
291859bf55
commit
3c7c05b5e9
@ -306,7 +306,7 @@ public class PolicyManagerUtil {
|
||||
for (CorrectiveAction correctiveAction : feature.getCorrectiveActions()) {
|
||||
if (correctiveAction.isReactive()) {
|
||||
if (profileOperation.getReactiveActionIds() == null) {
|
||||
profileOperation.setCorrectiveActionIds(new ArrayList<>());
|
||||
profileOperation.setReactiveActionIds(new ArrayList<>());
|
||||
}
|
||||
profileOperation.getReactiveActionIds().add(correctiveAction.getPolicyId());
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user