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:
parent
6d81fe5b19
commit
90a8ea1706
@ -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++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user