diff --git a/admin/api/sync.go b/admin/api/sync.go index 0bcba713..47bfaaad 100644 --- a/admin/api/sync.go +++ b/admin/api/sync.go @@ -284,12 +284,10 @@ func autoSync(c *gin.Context) { if !IsProductionEnv { if err := sync.GlobalImporter.Sync(); err != nil { - lastSyncError = err.Error() log.Println("Unable to sync.GI.Sync:", err.Error()) c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Unable to perform the pull."}) return } - lastSyncError = "" } themes, err := fic.GetThemes() diff --git a/admin/static/views/sync.html b/admin/static/views/sync.html index 106cc6c3..3643d4d5 100644 --- a/admin/static/views/sync.html +++ b/admin/static/views/sync.html @@ -22,7 +22,7 @@
Dernier import : {{ syncReport._updated[syncReport._updated.length-1] | date:"medium" }}
- + Voir les dépôts diff --git a/frontend/fic/src/lib/components/ExerciceDownloads.svelte b/frontend/fic/src/lib/components/ExerciceDownloads.svelte index c05a45a0..a62d7d91 100644 --- a/frontend/fic/src/lib/components/ExerciceDownloads.svelte +++ b/frontend/fic/src/lib/components/ExerciceDownloads.svelte @@ -27,7 +27,7 @@ {#each files as file, index} - +