mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 08:48:01 +00:00
XML Import related fixes (#724)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
d115f4c5f8
commit
b37c802aa7
@ -23,7 +23,7 @@
|
||||
|
||||
</script>
|
||||
|
||||
{#if value.attachments && value.attachments > 0}
|
||||
{#if value && value.attachments && value.attachments > 0}
|
||||
<Tooltip label={'Attachments (' + value.attachments + ')'} component={AttachmentPopup} props={{ objectId: value._id }}>
|
||||
<div class="sm-tool-icon">
|
||||
<span class="icon"><IconAttachment size="small"/></span> {value.attachments}
|
||||
|
@ -23,7 +23,7 @@
|
||||
export let value: Doc & { comments?: number }
|
||||
</script>
|
||||
|
||||
{#if value.comments && value.comments > 0}
|
||||
{#if value && value.comments && value.comments > 0}
|
||||
<Tooltip label={chunter.string.Comments} component={CommentPopup} props={{ objectId: value._id }}>
|
||||
<div class="sm-tool-icon">
|
||||
<span class="icon"><IconThread size="small"/></span> {value.comments}
|
||||
|
@ -30,6 +30,8 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if value && shortLabel}
|
||||
<div class="sm-tool-icon" on:click={show}>
|
||||
<span class="icon"><IconFile size={'small'} /></span> {shortLabel}-{value.number}
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -21,9 +21,11 @@
|
||||
|
||||
</script>
|
||||
|
||||
{#if value}
|
||||
<div class="overflow-label state-container" style="background-color: {value.color}">
|
||||
{value.title}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<style lang="scss">
|
||||
.state-container {
|
||||
|
@ -43,7 +43,7 @@
|
||||
(result) => {
|
||||
objects = result
|
||||
},
|
||||
{ sort: { [sortKey]: sortOrder }, ...options, limit: 500 }
|
||||
{ sort: { [sortKey]: sortOrder }, ...options, limit: 200 }
|
||||
)
|
||||
|
||||
function getValue (doc: Doc, key: string): any {
|
||||
|
Loading…
Reference in New Issue
Block a user