feat(frontend): add a release page

add a video player to a release page without release info with ability to save and view wathed episodes
This commit is contained in:
Kentai Radiquum 2024-04-30 05:19:42 +05:00
parent bbf8fc5436
commit 75dd8d83bd
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 187 additions and 27 deletions

View file

@ -23,11 +23,7 @@ export const useUserStore = create((set, get) => ({
`${endpoints.user.profile}/${jwt.user_id}`,
jwt.jwt,
);
if (me.is_my_profile) {
get().login(me, jwt.jwt, jwt.user_id);
} else {
get().logout();
}
get().login(me, jwt.jwt, jwt.user_id);
} else {
get().logout();
}