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
 | 
					                    /* 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
 | 
					                    where tags break the SaveMediaListEntry return, you'll want to use this delete line
 | 
				
			||||||
                    delete value.data.MediaList.media.tags */
 | 
					                    delete value.data.MediaList.media.tags */
 | 
				
			||||||
 | 
					                    value.data.MediaList.media.tags =
 | 
				
			||||||
 | 
					                        currentAniListAnime.data.MediaList.media.tags;
 | 
				
			||||||
                    aniListAnime.update((newValue) => {
 | 
					                    aniListAnime.update((newValue) => {
 | 
				
			||||||
                        newValue = value;
 | 
					                        newValue = value;
 | 
				
			||||||
                        return newValue;
 | 
					                        return newValue;
 | 
				
			||||||
@@ -445,7 +447,6 @@
 | 
				
			|||||||
            currentAniListAnime.data.MediaList.media.nextAiringEpisode.episode -
 | 
					            currentAniListAnime.data.MediaList.media.nextAiringEpisode.episode -
 | 
				
			||||||
            1;
 | 
					            1;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    console.log(currentAniListAnime.data.MediaList.media);
 | 
					 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<form on:submit|preventDefault={handleSubmit} class="container pt-3 pb-10">
 | 
					<form on:submit|preventDefault={handleSubmit} class="container pt-3 pb-10">
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user