mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
Sortable enum (#2813)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<script lang="ts">
|
||||
const fill: string = 'var(--caption-color)'
|
||||
</script>
|
||||
|
||||
<svg {fill} viewBox="0 0 6 16" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="1" cy="1" r="1" />
|
||||
<circle cx="4.5" cy="1" r="1" />
|
||||
<circle cx="1" cy="4.5" r="1" />
|
||||
<circle cx="4.5" cy="4.5" r="1" />
|
||||
<circle cx="1" cy="8" r="1" />
|
||||
<circle cx="4.5" cy="8" r="1" />
|
||||
<circle cx="1" cy="11.5" r="1" />
|
||||
<circle cx="4.5" cy="11.5" r="1" />
|
||||
<circle cx="1" cy="15" r="1" />
|
||||
<circle cx="4.5" cy="15" r="1" />
|
||||
</svg>
|
||||
@@ -25,11 +25,11 @@
|
||||
showPopup,
|
||||
getPlatformColor,
|
||||
eventToHTMLElement,
|
||||
Component
|
||||
Component,
|
||||
IconCircles
|
||||
} from '@hcengineering/ui'
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import { ColorsPopup } from '@hcengineering/view-resources'
|
||||
import Circles from './Circles.svelte'
|
||||
import StatusesPopup from './StatusesPopup.svelte'
|
||||
import task from '../../plugin'
|
||||
import Won from '../icons/Won.svelte'
|
||||
@@ -122,7 +122,7 @@
|
||||
selected = undefined
|
||||
}}
|
||||
>
|
||||
<div class="bar"><Circles /></div>
|
||||
<div class="bar"><IconCircles /></div>
|
||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||
<div
|
||||
class="color"
|
||||
|
||||
Reference in New Issue
Block a user