UBER-676 UBER-716 UBER-717 UBER-719 (#3582)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-08-13 23:28:12 +07:00
committed by GitHub
parent de03ecb895
commit ccaf66f179
34 changed files with 1975 additions and 668 deletions
@@ -53,7 +53,7 @@
function openPopup () {
if (!opened) {
opened = true
showPopup(DropdownLabelsPopupIntl, { items, selected }, container, (result) => {
showPopup(DropdownLabelsPopupIntl, { items, selected, params }, container, (result) => {
if (result) {
selected = result
dispatch('selected', result)
@@ -87,7 +87,10 @@
on:click={openPopup}
>
<span slot="content" class="overflow-label disabled flex-grow text-left mr-2">
<Label label={selectedItem ? selectedItem.label : label} params={selectedItem ? selectedItem.params : params} />
<Label
label={selectedItem ? selectedItem.label : label}
params={selectedItem ? selectedItem.params ?? params : params}
/>
</span>
<svelte:fragment slot="iconRight">
<DropdownIcon size={'small'} fill={'var(--theme-dark-color)'} />