Fixed issues with worker

This commit is contained in:
frikky
2021-10-24 01:23:22 +02:00
parent e321079385
commit 9445e7092b
3 changed files with 9 additions and 4 deletions
+7 -2
View File
@@ -370,8 +370,13 @@ const Apps = (props) => {
}} />
var newAppname = data.name
newAppname = newAppname.charAt(0).toUpperCase()+newAppname.substring(1)
newAppname = newAppname.replaceAll("_", " ")
if (newAppname === undefined) {
newAppname = "Undefined"
} else {
newAppname = newAppname.charAt(0).toUpperCase()+newAppname.substring(1)
newAppname = newAppname.replaceAll("_", " ")
}
var sharing = "public"
if (!data.sharing) {
sharing = "private"
+1 -1
View File
@@ -1938,7 +1938,7 @@ const Workflows = (props) => {
}} color="primary">
{submitLoading ?
<CircularProgress />
<CircularProgress color="secondary" />
:
"Submit"
}
+1 -1
View File
@@ -8,6 +8,6 @@ require (
github.com/docker/go-connections v0.4.0 // indirect
github.com/gorilla/mux v1.8.0
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/shuffle/shuffle-shared v0.1.19
github.com/shuffle/shuffle-shared v0.1.20
go4.org v0.0.0-20201209231011-d4a079459e60 // indirect
)