1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Skip icons in the recent files

This commit is contained in:
Zack Scholl 2017-09-29 12:21:10 -04:00
parent 6d81fe5b19
commit 90a8ea1706

View File

@ -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++
}