mirror of
https://github.com/Adembc/lazyssh.git
synced 2026-07-14 12:13:34 +02:00
fix update metadatafile
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user