refactor: modal manager types (#18150)

This commit is contained in:
Daniel Dietzler 2025-05-08 00:08:19 +02:00 committed by GitHub
parent 5250269fa4
commit 894545aeed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 32 additions and 26 deletions

View file

@ -28,7 +28,7 @@
const { isPurchased } = purchaseStore;
const openPurchaseModal = async () => {
await modalManager.open(PurchaseModal);
await modalManager.show(PurchaseModal, {});
showMessage = false;
};

View file

@ -56,7 +56,7 @@
{#if $connected && version}
<button
type="button"
onclick={() => info && modalManager.open(ServerAboutModal, { versions, info })}
onclick={() => info && modalManager.show(ServerAboutModal, { versions, info })}
class="dark:text-immich-gray flex gap-1"
>
{#if isMain}