feat: implement adding movie details from tmdb

This commit is contained in:
2023-08-01 03:15:15 +02:00
parent 3a5c5b4404
commit 01697a6686
9 changed files with 124 additions and 24 deletions

View File

@ -46,9 +46,9 @@ export const menus: Record<string, Menu> = {
body: JSON.stringify({ tmdbId: m.id }),
});
const j = await res.json();
console.log("Selected", { movie, m, j });
state.visible.value = false;
state.activeState.value = "normal";
window.location.reload();
},
})),
};