Temporarily move GV2 capability from allMatch to anyMatch
This commit is contained in:
parent
6a11501184
commit
a32c8fabed
|
@ -142,7 +142,7 @@ public class Account implements Principal {
|
||||||
public boolean isGroupsV2Supported() {
|
public boolean isGroupsV2Supported() {
|
||||||
return devices.stream()
|
return devices.stream()
|
||||||
.filter(Device::isEnabled)
|
.filter(Device::isEnabled)
|
||||||
.allMatch(device -> device.getCapabilities() != null && device.getCapabilities().isGv2());
|
.anyMatch(device -> device.getCapabilities() != null && device.getCapabilities().isGv2());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isStorageSupported() {
|
public boolean isStorageSupported() {
|
||||||
|
|
Loading…
Reference in New Issue