Add guard (#2696)
This commit is contained in:
parent
c5dc3d4272
commit
07b0a2c40a
@ -60,7 +60,7 @@ export class UserService {
|
|||||||
PROPERTY_SYSTEM_MESSAGE
|
PROPERTY_SYSTEM_MESSAGE
|
||||||
)) as SystemMessage;
|
)) as SystemMessage;
|
||||||
|
|
||||||
if (systemMessageProperty?.targetGroups?.includes(subscription.type)) {
|
if (systemMessageProperty?.targetGroups?.includes(subscription?.type)) {
|
||||||
systemMessage = systemMessageProperty;
|
systemMessage = systemMessageProperty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user