fix update metadatafile

This commit is contained in:
Adem Baccara
2025-08-25 17:41:33 +01:00
parent b3d343cf2e
commit c8e5cbb9ed
3 changed files with 17 additions and 10 deletions
-4
View File
@@ -18,7 +18,6 @@ import (
"fmt"
"strconv"
"strings"
"time"
"github.com/Adembc/lazyssh/internal/core/domain"
"github.com/gdamore/tcell/v2"
@@ -123,9 +122,6 @@ func (sf *ServerForm) handleSave() {
}
server := sf.dataToServer(data)
if sf.original == nil {
server.LastSeen = time.Now()
}
if sf.onSave != nil {
sf.onSave(server, sf.original)
}