mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
UBERF-7532: Bulk operations for triggers (#6023)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
import { addLocation } from '@hcengineering/platform'
|
||||
import { devModelId } from '@hcengineering/devmodel'
|
||||
import { PresentationClientHook } from '@hcengineering/devmodel-resources'
|
||||
import login from '@hcengineering/login'
|
||||
import { setMetadata } from '@hcengineering/platform'
|
||||
import devmodel, { devModelId } from '@hcengineering/devmodel'
|
||||
import client from '@hcengineering/client'
|
||||
import { addLocation, setMetadata } from '@hcengineering/platform'
|
||||
import presentation from '@hcengineering/presentation'
|
||||
|
||||
export function configurePlatformDevServer() {
|
||||
console.log('Use Endpoint override:', process.env.LOGIN_ENDPOINT)
|
||||
@@ -28,6 +28,6 @@ export function configurePlatformDevServer() {
|
||||
}
|
||||
|
||||
function enableDevModel() {
|
||||
setMetadata(client.metadata.ClientHook, devmodel.hook.Hook)
|
||||
setMetadata(presentation.metadata.ClientHook, new PresentationClientHook())
|
||||
addLocation(devModelId, () => import(/* webpackChunkName: "devmodel" */ '@hcengineering/devmodel-resources'))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user