checker message
This commit is contained in:
parent
785e0bb305
commit
1592c3653e
|
|
@ -12,6 +12,13 @@ const checkers: Checker<EntityDict, 'message', RuntimeCxt> [] = [
|
||||||
entity: 'message',
|
entity: 'message',
|
||||||
checker: (operation, context) => {
|
checker: (operation, context) => {
|
||||||
const systemId = context.getSystemId();
|
const systemId = context.getSystemId();
|
||||||
|
if (!systemId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const isRoot = context.isRoot();
|
||||||
|
if (isRoot) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const filter: EntityDict['message']['Selection']['filter'] = {
|
const filter: EntityDict['message']['Selection']['filter'] = {
|
||||||
messageSystem$message: {
|
messageSystem$message: {
|
||||||
systemId,
|
systemId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue