mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
fix lint formatting
Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
parent
821851a99a
commit
afa335ba30
@ -33,7 +33,6 @@
|
||||
function showLead() {
|
||||
showPanel(board.component.EditCard, object._id, object._class, 'middle')
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex-col pt-2 pb-2 pr-4 pl-4">
|
||||
@ -51,7 +50,8 @@
|
||||
showMenu(evt)
|
||||
}}
|
||||
icon={IconMoreH}
|
||||
size={'small'} />
|
||||
size={'small'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-between">
|
||||
|
@ -28,14 +28,13 @@
|
||||
export let object: WithLookup<Lead>
|
||||
export let dragged: boolean
|
||||
|
||||
function showMenu(ev?: Event): void {
|
||||
function showMenu (ev?: Event): void {
|
||||
showPopup(ContextMenu, { object }, (ev as MouseEvent).target as HTMLElement)
|
||||
}
|
||||
|
||||
function showLead() {
|
||||
function showLead () {
|
||||
showPanel(view.component.EditDoc, object._id, object._class, 'full')
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex-col pt-2 pb-2 pr-4 pl-4">
|
||||
@ -53,7 +52,8 @@
|
||||
showMenu(evt)
|
||||
}}
|
||||
icon={IconMoreH}
|
||||
size={'small'} />
|
||||
size={'small'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-between">
|
||||
|
@ -28,13 +28,12 @@
|
||||
export let object: WithLookup<Applicant>
|
||||
export let dragged: boolean
|
||||
|
||||
function showCandidate() {
|
||||
function showCandidate () {
|
||||
showPanel(view.component.EditDoc, object.attachedTo, object.attachedToClass, 'full')
|
||||
}
|
||||
|
||||
$: todoItems = (object.$lookup?.todoItems as TodoItem[]) ?? []
|
||||
$: doneTasks = todoItems.filter((it) => it.done)
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex-col pt-2 pb-2 pr-4 pl-4">
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
$: todoItems = (object.$lookup?.todoItems as TodoItem[]) ?? []
|
||||
$: doneTasks = todoItems.filter((it) => it.done)
|
||||
|
||||
</script>
|
||||
|
||||
<div class="flex-col pt-2 pb-2 pr-4 pl-4">
|
||||
@ -55,7 +54,8 @@
|
||||
showMenu(evt)
|
||||
}}
|
||||
icon={IconMoreH}
|
||||
size={'small'} />
|
||||
size={'small'}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="caption-color mb-3 lines-limit-4">{object.name}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user