Fix disable integration notify (#3823)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-10-11 15:10:51 +06:00 committed by GitHub
parent bc3598ce15
commit 13a677dd3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -516,6 +516,9 @@ export function createModel (builder: Builder): void {
group: setting.ids.SettingNotificationGroup,
field: 'disabled',
txClasses: [core.class.TxUpdateDoc],
txMatch: {
'operations.disabled': true
},
objectClass: setting.class.Integration,
allowedForAuthor: true,
templates: {