From 639c919ff0f0c2dfe476964b8f800e07e7a37584 Mon Sep 17 00:00:00 2001 From: stratuma Date: Mon, 24 Jun 2024 22:47:10 +0200 Subject: [PATCH] added better hardsub handeling --- components/MainHeader.vue | 2 +- pages/addanime.vue | 49 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/components/MainHeader.vue b/components/MainHeader.vue index e8649cb..383ef58 100644 --- a/components/MainHeader.vue +++ b/components/MainHeader.vue @@ -50,7 +50,7 @@ async function openAddAnime() { title: 'Add Anime', url: isProduction ? 'http://localhost:8079/addanime' : 'http://localhost:3000/addanime', width: 700, - height: 450, + height: 550, backgroundColor: '#111111' }) } diff --git a/pages/addanime.vue b/pages/addanime.vue index 1f10db9..609f312 100644 --- a/pages/addanime.vue +++ b/pages/addanime.vue @@ -233,6 +233,34 @@ +
+
+ Hardsub: + {{ selectedHardSub ? `${selectedHardSub.name} (${selectedHardSub.format})` : 'No Hardsub selected' }} +
+
+ + +
+
Subs: @@ -258,7 +286,7 @@
-
+