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