mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-27 12:04:56 +02:00
@@ -195,7 +195,7 @@
|
||||
{#each groupedIssues[category] as docObject (docObject._id)}
|
||||
<div
|
||||
bind:this={objectRefs[combinedGroupedIssues.findIndex((x) => x === docObject)]}
|
||||
class="listGrid antiList__row row gap-2"
|
||||
class="listGrid antiList__row row gap-2 flex-grow"
|
||||
class:checking={selectedObjectIdsSet.has(docObject._id)}
|
||||
class:mListGridFixed={selectedRowIndex === combinedGroupedIssues.findIndex((x) => x === docObject)}
|
||||
class:mListGridSelected={selectedRowIndex === combinedGroupedIssues.findIndex((x) => x === docObject)}
|
||||
@@ -254,7 +254,6 @@
|
||||
value={getObjectValue(attributeModel.key, docObject) ?? ''}
|
||||
{...attributeModel.props}
|
||||
/>
|
||||
<div class="grow-cell" />
|
||||
{:else if attributeModel.props?.fixed}
|
||||
<FixedColumn
|
||||
width={propsWidth[attributeModel.key]}
|
||||
|
||||
@@ -67,19 +67,19 @@
|
||||
{#if kind === 'list'}
|
||||
<div class="priority-container" on:click={handlePriorityEditorOpened}>
|
||||
<div class="icon">
|
||||
{#if issuePriorities[value.priority].icon}<Icon icon={issuePriorities[value.priority].icon} {size} />{/if}
|
||||
{#if issuePriorities[value.priority]?.icon}<Icon icon={issuePriorities[value.priority]?.icon} {size} />{/if}
|
||||
</div>
|
||||
{#if shouldShowLabel}
|
||||
<span class="overflow-label label">
|
||||
<Label label={issuePriorities[value.priority].label} />
|
||||
<Label label={issuePriorities[value.priority]?.label} />
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{:else}
|
||||
<Button
|
||||
showTooltip={isEditable ? { label: tracker.string.SetPriority } : undefined}
|
||||
label={shouldShowLabel ? issuePriorities[value.priority].label : undefined}
|
||||
icon={issuePriorities[value.priority].icon}
|
||||
label={shouldShowLabel ? issuePriorities[value.priority]?.label : undefined}
|
||||
icon={issuePriorities[value.priority]?.icon}
|
||||
{justify}
|
||||
{width}
|
||||
{size}
|
||||
|
||||
@@ -13,13 +13,20 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import { WithLookup } from '@anticrm/core'
|
||||
import { IssueStatus } from '@anticrm/tracker'
|
||||
import { Icon } from '@anticrm/ui'
|
||||
|
||||
export let value: IssueStatus | undefined
|
||||
export let value: WithLookup<IssueStatus> | undefined
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
<span class="overflow-label">
|
||||
{value.name}
|
||||
</span>
|
||||
<div class="flex-presenter">
|
||||
{#if value.$lookup?.category?.icon}
|
||||
<Icon icon={value.$lookup?.category?.icon} size={'medium'} />
|
||||
{/if}
|
||||
<span class="overflow-label" class:ml-2={value.$lookup?.category?.icon !== undefined}>
|
||||
{value.name}
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -20,7 +20,9 @@
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
<span class="titleLabel" class:mTitleLabelWithMargin={shouldUseMargin} title={value.title}>{value.title}</span>
|
||||
<span class="titleLabel flex-grow" class:mTitleLabelWithMargin={shouldUseMargin} title={value.title}
|
||||
>{value.title}</span
|
||||
>
|
||||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user