diff --git a/backend/app/service/dashboard.go b/backend/app/service/dashboard.go
index 0a37ecfda..532281be7 100644
--- a/backend/app/service/dashboard.go
+++ b/backend/app/service/dashboard.go
@@ -31,7 +31,7 @@ func NewIDashboardService() IDashboardService {
}
func (u *DashboardService) Restart(operation string) error {
- if operation != "1panel" && operation != "system" {
+ if operation != "panel" && operation != "system" {
return fmt.Errorf("handle restart operation %s failed, err: nonsupport such operation", operation)
}
itemCmd := fmt.Sprintf("%s 1pctl restart", cmd.SudoHandleCmd())
diff --git a/frontend/src/views/host/terminal/host/index.vue b/frontend/src/views/host/terminal/host/index.vue
index 59b39faf8..d1e17cdb8 100644
--- a/frontend/src/views/host/terminal/host/index.vue
+++ b/frontend/src/views/host/terminal/host/index.vue
@@ -55,12 +55,7 @@
{{ row.groupBelong }}
-
-
- {{ $t('terminal.localhost') }}
- {{ row.name }}
-
-
+