Merge branch 'master' of github.com:Suwayomi/Tachidesk

This commit is contained in:
Aria Moradi 2021-04-13 10:54:50 +04:30
commit 71ad1bb6e3
2 changed files with 4 additions and 7 deletions

View File

@ -68,18 +68,12 @@ jobs:
dependencies-cache-enabled: true dependencies-cache-enabled: true
configuration-cache-enabled: true configuration-cache-enabled: true
- name: Create repo artifacts
run: |
cd master
./.github/scripts/create-repo.sh
- name: Upload Release - name: Upload Release
uses: xresloader/upload-to-github-release@master uses: xresloader/upload-to-github-release@master
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
file: "master/repo/*" file: "master/server/build/*.jar;master/server/build/*-win32.zip"
tags: true tags: true
draft: true draft: true
verbose: true verbose: true

View File

@ -135,6 +135,9 @@ export default function MangaDetails(props: IProps) {
const { setAction } = useContext(NavbarContext); const { setAction } = useContext(NavbarContext);
const { manga } = props; const { manga } = props;
if (manga.genre == null) {
manga.genre = '';
}
const [inLibrary, setInLibrary] = useState<string>( const [inLibrary, setInLibrary] = useState<string>(
manga.inLibrary ? 'In Library' : 'Add To Library', manga.inLibrary ? 'In Library' : 'Add To Library',
); );