mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
UBER-1160: Open vacancy panel when it’s opened from applicant (#4473)
* change vacancy link to vacancy panel Signed-off-by: Danil Uzlov <danil.uzlov@xored.com> * Use DocNavLink Signed-off-by: Danil Uzlov <danil.uzlov@xored.com> --------- Signed-off-by: Danil Uzlov <danil.uzlov@xored.com>
This commit is contained in:
parent
075b362c1c
commit
27035518f5
@ -18,9 +18,9 @@
|
||||
import { ChannelsEditor } from '@hcengineering/contact-resources'
|
||||
import { Ref, WithLookup } from '@hcengineering/core'
|
||||
import { createQuery, getClient } from '@hcengineering/presentation'
|
||||
import { Vacancy, recruitId } from '@hcengineering/recruit'
|
||||
import { Vacancy } from '@hcengineering/recruit'
|
||||
import { Component, Label } from '@hcengineering/ui'
|
||||
import { NavLink } from '@hcengineering/view-resources'
|
||||
import { DocNavLink } from '@hcengineering/view-resources'
|
||||
import recruit from '../plugin'
|
||||
import VacancyIcon from './icons/Vacancy.svelte'
|
||||
import chunter from '@hcengineering/chunter'
|
||||
@ -73,7 +73,7 @@
|
||||
{/if}
|
||||
{#if vacancy}
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<NavLink {disabled} space={vacancy._id} app={recruitId}>
|
||||
<DocNavLink {disabled} object={vacancy}>
|
||||
<div class="name">
|
||||
{#if inline}
|
||||
<div class="flex-row-center">
|
||||
@ -86,7 +86,7 @@
|
||||
{vacancy.name}
|
||||
{/if}
|
||||
</div>
|
||||
</NavLink>
|
||||
</DocNavLink>
|
||||
{#if company}
|
||||
<span class="label overflow-label">{company.name}</span>
|
||||
{/if}
|
||||
|
Loading…
Reference in New Issue
Block a user