mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: modal manager types (#18150)
This commit is contained in:
parent
5250269fa4
commit
894545aeed
9 changed files with 32 additions and 26 deletions
|
|
@ -28,7 +28,7 @@
|
|||
const { isPurchased } = purchaseStore;
|
||||
|
||||
const openPurchaseModal = async () => {
|
||||
await modalManager.open(PurchaseModal);
|
||||
await modalManager.show(PurchaseModal, {});
|
||||
showMessage = false;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue