Remove blob icon type

This commit is contained in:
Daniel
2023-09-19 15:39:01 +02:00
parent 846c3420e7
commit a6f6ffdbfc

View File

@@ -19,17 +19,14 @@ type IconType string
const ( const (
IconTypeFile IconType = "path" IconTypeFile IconType = "path"
IconTypeDatabase IconType = "database" IconTypeDatabase IconType = "database"
IconTypeBlob IconType = "blob"
) )
func (t IconType) sortOrder() int { func (t IconType) sortOrder() int {
switch t { switch t {
case IconTypeFile:
return 1
case IconTypeDatabase: case IconTypeDatabase:
return 1
case IconTypeFile:
return 2 return 2
case IconTypeBlob:
return 3
default: default:
return 100 return 100
} }