Skip to content

Commit

Permalink
Skip icons in the recent files
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Sep 29, 2017
1 parent 6d81fe5 commit 90a8ea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ func getRecentlyEdited(title string, c *gin.Context) []string {
if thing == title {
continue
}
if strings.Contains(thing, "icon-") {
continue
}
editedThingsWithoutCurrent[i] = thing
i++
}
Expand Down

0 comments on commit 90a8ea1

Please sign in to comment.