1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-15 23:54:17 +02:00

Apply multilingual support

This commit is contained in:
link
2022-01-26 18:50:34 +08:00
parent 26e5b18a5d
commit d060968b7a
15 changed files with 2346 additions and 217 deletions

View File

@ -286,7 +286,7 @@ func Info(c *gin.Context) {
findSystem += 1
continue
}
if list[i].Tran == "sata" {
if list[i].Tran == "sata" || list[i].Tran == "nvme" {
temp := service.MyService.Disk().SmartCTL(list[i].Path)
if reflect.DeepEqual(temp, model.SmartctlA{}) {
continue