fixed issue where tags would not reload after submit
This commit is contained in:
		@@ -216,6 +216,8 @@
 | 
			
		||||
                    /* TODO in future when you inevitably add tags to typescript, until Anilist fixes the api bug
 | 
			
		||||
                    where tags break the SaveMediaListEntry return, you'll want to use this delete line
 | 
			
		||||
                    delete value.data.MediaList.media.tags */
 | 
			
		||||
                    value.data.MediaList.media.tags =
 | 
			
		||||
                        currentAniListAnime.data.MediaList.media.tags;
 | 
			
		||||
                    aniListAnime.update((newValue) => {
 | 
			
		||||
                        newValue = value;
 | 
			
		||||
                        return newValue;
 | 
			
		||||
@@ -445,7 +447,6 @@
 | 
			
		||||
            currentAniListAnime.data.MediaList.media.nextAiringEpisode.episode -
 | 
			
		||||
            1;
 | 
			
		||||
    }
 | 
			
		||||
    console.log(currentAniListAnime.data.MediaList.media);
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<form on:submit|preventDefault={handleSubmit} class="container pt-3 pb-10">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user