2021-09-11 09:32:01 +00:00
|
|
|
<!--
|
|
|
|
// Copyright © 2020, 2021 Anticrm Platform Contributors.
|
|
|
|
// Copyright © 2021 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
|
|
|
import type { Applicant } from '@anticrm/recruit'
|
2021-09-27 10:32:36 +00:00
|
|
|
import { IconFile, showPopup } from '@anticrm/ui'
|
|
|
|
import EditApplication from './EditApplication.svelte'
|
2021-09-11 09:32:01 +00:00
|
|
|
|
2021-09-27 10:32:36 +00:00
|
|
|
export let value: Applicant
|
|
|
|
|
|
|
|
function show() {
|
|
|
|
console.log('show!', value)
|
|
|
|
showPopup(EditApplication, { _id: value._id }, 'full')
|
|
|
|
}
|
2021-09-11 09:32:01 +00:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2021-09-27 10:32:36 +00:00
|
|
|
<div on:click={show}>
|
|
|
|
<IconFile size={'small'}/>
|
|
|
|
</div>
|