going to try to call this function from Search
This commit is contained in:
parent
e004933d52
commit
93f54d8425
@ -36,9 +36,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function GetAniListSingleItemAndOpenModal(aniId: number): void {
|
||||||
|
|
||||||
function GetAniListSingleItemAndOpenModal(aniId: number): void {
|
|
||||||
GetAniListItem(aniId).then(result => {
|
GetAniListItem(aniId).then(result => {
|
||||||
anime = result
|
anime = result
|
||||||
title = anime.data.MediaList.media.title.english === "" ?
|
title = anime.data.MediaList.media.title.english === "" ?
|
||||||
@ -108,7 +106,6 @@
|
|||||||
Episodes: {media.media.episodes}</p>
|
Episodes: {media.media.episodes}</p>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
<!-- <Button on:click={() => (anilistModal = true)}>Default modal</Button>-->
|
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user