From b884d34bdff8ad87bde109ae11bba5deaa169919 Mon Sep 17 00:00:00 2001 From: Arias800 Date: Sat, 10 Apr 2021 19:42:05 +0200 Subject: [PATCH 1/2] Fix white screen if the manga doesn't have genre. --- webUI/react/src/components/MangaDetails.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webUI/react/src/components/MangaDetails.tsx b/webUI/react/src/components/MangaDetails.tsx index 867b9fad..ec43702b 100644 --- a/webUI/react/src/components/MangaDetails.tsx +++ b/webUI/react/src/components/MangaDetails.tsx @@ -135,6 +135,9 @@ export default function MangaDetails(props: IProps) { const { setAction } = useContext(NavbarContext); const { manga } = props; + if (manga.genre == null) { + manga.genre = ''; + } const [inLibrary, setInLibrary] = useState( manga.inLibrary ? 'In Library' : 'Add To Library', ); From 93fd81b38b74d84fcb39784048743ad4877e157b Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Tue, 13 Apr 2021 10:36:34 +0430 Subject: [PATCH 2/2] [SKIP CI] fix the glob --- .github/workflows/publish.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d731db01..bffc869e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,18 +68,12 @@ jobs: dependencies-cache-enabled: true configuration-cache-enabled: true - - - name: Create repo artifacts - run: | - cd master - ./.github/scripts/create-repo.sh - - name: Upload Release uses: xresloader/upload-to-github-release@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - file: "master/repo/*" + file: "master/server/build/*.jar;master/server/build/*-win32.zip" tags: true draft: true verbose: true