Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2022-02-01 16:02:27 +07:00 committed by GitHub
parent 7cbbb0a919
commit e81c8a3c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View File

@ -52,7 +52,7 @@
if (result) {
value = result._id
onChange(value)
} else if (result == null) {
} else if (result === null) {
value = null
onChange(value)
}
@ -65,6 +65,16 @@
{#if state}
<DoneStatePresenter value={state} showTitle />
{:else}
<div class="color"/>
<Label label={task.string.NoDoneState} />
{/if}
</div>
<style lang="scss">
.color {
border: 0.5px #ffffff55 solid;
margin-right: 0.75rem;
width: .5rem;
height: .5rem;
border-radius: .5rem;
}
</style>

View File

@ -60,9 +60,8 @@
dispatch('close', null)
}}
>
<div class='not-done'>
<Label label={task.string.NoDoneState}/>
</div>
<div class="color" style="border: 0.5px #ffffff55 solid"/>
<Label label={task.string.NoDoneState}/>
</div>
</div>