mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 03:54:57 +02:00
Fix build cache (#1996)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</div>
|
||||
<div class="buttons-group small-gap">
|
||||
<Button
|
||||
id={'card-close'}
|
||||
id="card-close"
|
||||
focusIndex={10002}
|
||||
icon={IconClose}
|
||||
kind={'transparent'}
|
||||
|
||||
@@ -55,36 +55,31 @@
|
||||
}
|
||||
|
||||
$: updateSelected(value)
|
||||
|
||||
const showSpacesPopup = (ev: MouseEvent) => {
|
||||
showPopup(
|
||||
SpacesPopup,
|
||||
{
|
||||
_class,
|
||||
label,
|
||||
options: { sort: { modifiedOn: -1 } },
|
||||
selected,
|
||||
spaceQuery,
|
||||
create
|
||||
},
|
||||
eventToHTMLElement(ev),
|
||||
(result) => {
|
||||
if (result) {
|
||||
value = result._id
|
||||
mgr?.setFocusPos(focusIndex)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
</script>
|
||||
|
||||
<Tooltip {label} fill={false} direction={labelDirection}>
|
||||
<Button
|
||||
{focus}
|
||||
{focusIndex}
|
||||
icon={IconFolder}
|
||||
size={'small'}
|
||||
kind={'no-border'}
|
||||
on:click={(ev) => {
|
||||
showPopup(
|
||||
SpacesPopup,
|
||||
{
|
||||
_class,
|
||||
label,
|
||||
options: { sort: { modifiedOn: -1 } },
|
||||
selected,
|
||||
spaceQuery,
|
||||
create
|
||||
},
|
||||
eventToHTMLElement(ev),
|
||||
(result) => {
|
||||
if (result) {
|
||||
value = result._id
|
||||
mgr?.setFocusPos(focusIndex)
|
||||
}
|
||||
}
|
||||
)
|
||||
}}
|
||||
>
|
||||
<Button {focus} {focusIndex} icon={IconFolder} size={'small'} kind={'no-border'} on:click={showSpacesPopup}>
|
||||
<span slot="content" class="text-sm">
|
||||
{#if selected}{selected.name}{:else}<Label {label} />{/if}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user