mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: close tag modal after tagging assets (#25884)
This commit is contained in:
parent
6cdebdd3b3
commit
5a6fd7af06
1 changed files with 2 additions and 1 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
const updatedIds = await tagAssets({ tagIds: [...selectedIds], assetIds, showNotification: false });
|
const updatedIds = await tagAssets({ tagIds: [...selectedIds], assetIds, showNotification: false });
|
||||||
eventManager.emit('AssetsTag', updatedIds);
|
eventManager.emit('AssetsTag', updatedIds);
|
||||||
|
onClose();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSelect = async (option?: ComboBoxOption) => {
|
const handleSelect = async (option?: ComboBoxOption) => {
|
||||||
|
|
@ -81,7 +82,7 @@
|
||||||
{#if tag}
|
{#if tag}
|
||||||
<div class="flex group transition-all">
|
<div class="flex group transition-all">
|
||||||
<span
|
<span
|
||||||
class="inline-block h-min whitespace-nowrap ps-3 pe-1 group-hover:ps-3 py-1 text-center align-baseline leading-none text-gray-100 dark:text-immich-dark-gray bg-primary roudned-s-full hover:bg-immich-primary/80 dark:hover:bg-immich-dark-primary/80 transition-all"
|
class="inline-block h-min whitespace-nowrap ps-3 pe-1 group-hover:ps-3 py-1 text-center align-baseline leading-none text-gray-100 dark:text-immich-dark-gray bg-primary rounded-s-full hover:bg-immich-primary/80 dark:hover:bg-immich-dark-primary/80 transition-all"
|
||||||
>
|
>
|
||||||
<p class="text-sm">
|
<p class="text-sm">
|
||||||
{tag.value}
|
{tag.value}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue