From 29a098624196ccc7c42516d9bd5fad0448bce43a Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Fri, 17 Mar 2023 15:47:54 +0600 Subject: [PATCH] Fix links resolvers (#2761) Signed-off-by: Denis Bykhov --- plugins/chunter-resources/src/utils.ts | 6 +++--- plugins/contact-resources/src/utils.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/chunter-resources/src/utils.ts b/plugins/chunter-resources/src/utils.ts index b6d0f02f59..f0bd7d0f7a 100644 --- a/plugins/chunter-resources/src/utils.ts +++ b/plugins/chunter-resources/src/utils.ts @@ -1,6 +1,6 @@ import { chunterId, ChunterMessage, Comment, ThreadMessage } from '@hcengineering/chunter' import contact, { EmployeeAccount, getName } from '@hcengineering/contact' -import { Class, Client, Doc, getCurrentAccount, Obj, Ref, SortingOrder, Space, Timestamp } from '@hcengineering/core' +import { Class, Client, Doc, getCurrentAccount, Obj, Ref, Space, Timestamp } from '@hcengineering/core' import { Asset } from '@hcengineering/platform' import { getClient } from '@hcengineering/presentation' import { getCurrentLocation, getPanelURI, Location, navigate } from '@hcengineering/ui' @@ -156,7 +156,7 @@ async function generateLocation (loc: Location, shortLink: string): Promise const client = getClient() const hierarchy = client.getHierarchy() const classes = [chunter.class.Message, chunter.class.ThreadMessage, chunter.class.Comment] @@ -171,7 +171,7 @@ async function generateLocation (loc: Location, shortLink: string): Promise const client = getClient() const hierarchy = client.getHierarchy() const classes = hierarchy.getDescendants(contact.class.Contact) @@ -196,7 +196,7 @@ async function generateLocation (loc: Location, shortLink: string): Promise