UBER-372 Exclude search category and notifications (#3352)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-06-06 11:46:56 +06:00 committed by GitHub
parent 5ce55303f5
commit 9113ca1b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 6 deletions

View File

@ -31,9 +31,9 @@ import gmail, { gmailId, createModel as gmailModel } from '@hcengineering/model-
import hr, { hrId, createModel as hrModel } from '@hcengineering/model-hr'
import inventory, { inventoryId, createModel as inventoryModel } from '@hcengineering/model-inventory'
import lead, { leadId, createModel as leadModel } from '@hcengineering/model-lead'
import { notificationId, createModel as notificationModel } from '@hcengineering/model-notification'
import notification, { notificationId, createModel as notificationModel } from '@hcengineering/model-notification'
import { preferenceId, createModel as preferenceModel } from '@hcengineering/model-preference'
import { presentationId, createModel as presentationModel } from '@hcengineering/model-presentation'
import presentation, { presentationId, createModel as presentationModel } from '@hcengineering/model-presentation'
import recruit, { recruitId, createModel as recruitModel } from '@hcengineering/model-recruit'
import { requestId, createModel as requestModel } from '@hcengineering/model-request'
import { serverAttachmentId, createModel as serverAttachmentModel } from '@hcengineering/model-server-attachment'
@ -100,7 +100,11 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
enabled: true,
beta: false,
icon: contact.icon.ContactApplication,
classFilter: [workbench.class.Application]
classFilter: [
workbench.class.Application,
presentation.class.ObjectSearchCategory,
notification.class.NotificationGroup
]
}
],
[
@ -125,7 +129,12 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
enabled: true,
beta: false,
icon: recruit.icon.RecruitApplication,
classFilter: [workbench.class.Application, view.class.Action]
classFilter: [
workbench.class.Application,
view.class.Action,
presentation.class.ObjectSearchCategory,
notification.class.NotificationGroup
]
}
],
[settingModel, settingId],
@ -221,7 +230,12 @@ export default function buildModel (enabled: string[] = ['*'], disabled: string[
enabled: true,
beta: false,
icon: tracker.icon.TrackerApplication,
classFilter: [workbench.class.Application, view.class.Action]
classFilter: [
workbench.class.Application,
view.class.Action,
presentation.class.ObjectSearchCategory,
notification.class.NotificationGroup
]
}
],
[

View File

@ -38,7 +38,7 @@
"AndMore": "И еще {count}",
"CreateEvent": "Создать событие",
"EventFor": "Событие для: ",
"ConfigLabel": "Календаоь",
"ConfigLabel": "Календарь",
"ConfigDescription": "Расширение для календаря с событиями"
}
}