mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-12 19:30:52 +00:00
TSK-879: Fix empty assignee selection (#2774)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
6bdc76351a
commit
db7ed8049e
4
common/scripts/docker_tag_push.sh
Executable file
4
common/scripts/docker_tag_push.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo "Tagging release $1 with version $2"
|
||||
docker tag "$1" "$1:$2"
|
||||
docker push "$1:$2"
|
@ -32,6 +32,12 @@
|
||||
export let showTooltip: LabelAndProps | undefined = undefined
|
||||
export let enlargedText = false
|
||||
export let element: HTMLElement | undefined = undefined
|
||||
|
||||
const onEditClick = (evt: MouseEvent) => {
|
||||
if (isInteractive) {
|
||||
onEdit?.(evt)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
@ -62,7 +68,8 @@
|
||||
</span>
|
||||
{/if}
|
||||
{:else if shouldShowPlaceholder}
|
||||
<span use:tooltip={showTooltip} class="contentPresenter" class:text-base={enlargedText}>
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<span use:tooltip={showTooltip} on:click={onEditClick} class="contentPresenter" class:text-base={enlargedText}>
|
||||
{#if shouldShowAvatar}
|
||||
<span
|
||||
class="eContentPresenterIcon"
|
||||
|
@ -12,6 +12,7 @@
|
||||
"docker:build": "docker build -t hardcoreeng/front .",
|
||||
"docker:staging": "../../common/scripts/docker_tag.sh hardcoreeng/front staging",
|
||||
"docker:push": "../../common/scripts/docker_tag.sh hardcoreeng/front",
|
||||
"docker:tbuild": "docker build -t hardcoreeng/front . --platform=linux/amd64 && ../../common/scripts/docker_tag_push.sh hardcoreeng/front",
|
||||
"lint": "eslint src",
|
||||
"format": "prettier --write src && eslint --fix src",
|
||||
"run-local": "cross-env MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin MINIO_ENDPOINT=localhost TRANSACTOR_URL=ws:/localhost:3333 SERVER_SECRET='secret' ACCOUNTS_URL=http://localhost:3000 UPLOAD_URL=/files ELASTIC_URL=http://localhost:9200 MODEL_VERSION=$(node ../../models/all/lib/__showversion.js) PUBLIC_DIR='.' ts-node ./src/__start.ts"
|
||||
|
Loading…
Reference in New Issue
Block a user