Remove blob icon type
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user