mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 16:56:07 +00:00
parent
7cbbb0a919
commit
e81c8a3c41
plugins/task-resources/src/components/state
@ -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>
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user