From ce5abfd415572028b9a270fa36b1ba0b57e229f3 Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Wed, 26 May 2021 10:30:37 +0300 Subject: [PATCH 1/3] some changes --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cbd328e..f6af94e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ On linux systems you need to set the environment variable before run \ Install golang 1.16+ by instruction: https://golang.org/doc/install \ Goto dir to source\ Run build script under linux build-all.sh\ -For build web page need install npm\ +For build web page need install npm and yarn\ +For instal yarn: _npm i -g yarn_ after install npm\ For build android server need android toolchain\ Download android ndk and copy android-ndk-XXX/toolchains/llvm/prebuilt/linux-x86_64 dir to source, rename it to toolchain @@ -197,6 +198,8 @@ SberBank card: 4276 4000 6707 2919 ###### **tsynik** [github.com/tsynik](https://github.com/tsynik) +###### **dancheskus** [github.com/dancheskus](https://github.com/dancheskus) + ###### **Tw1cker Руслан Пахнев** [github.com/Nemiroff](https://github.com/Nemiroff) ###### **SpAwN_LMG** From aa1c4739208f184a28f7e987d05bd5c39d7d063b Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Wed, 26 May 2021 10:33:40 +0300 Subject: [PATCH 2/3] add thanks dancheskus --- web/src/components/About.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/components/About.jsx b/web/src/components/About.jsx index 4daff3a..7dcb594 100644 --- a/web/src/components/About.jsx +++ b/web/src/components/About.jsx @@ -27,7 +27,7 @@ export default function AboutDialog() { - +

Thanks to everyone who tested and helped.

@@ -37,6 +37,8 @@ export default function AboutDialog() {
tsynik nikk Никита
github.com/tsynik
+ dancheskus github.com/dancheskus +
Tw1cker Руслан Пахнев github.com/Nemiroff
SpAwN_LMG From 5aa2fef289c4549b0cb58e5568cc5369a828eb4b Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Wed, 26 May 2021 11:01:11 +0300 Subject: [PATCH 3/3] fix to empty list --- server/web/api/torrents.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/web/api/torrents.go b/server/web/api/torrents.go index 079eef2..b15b0d3 100644 --- a/server/web/api/torrents.go +++ b/server/web/api/torrents.go @@ -136,7 +136,7 @@ func remTorrent(req torrReqJS, c *gin.Context) { func listTorrent(req torrReqJS, c *gin.Context) { list := torr.ListTorrent() - if list == nil { + if len(list) == 0 { c.JSON(200, []*state.TorrentStatus{}) return }