Merge branch 'main' into comment_writer

This commit is contained in:
Max Goedjen 2025-08-31 16:06:27 -07:00 committed by GitHub
commit 42260d6150
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ struct EditSecretView<StoreType: SecretStoreModifiable>: View {
func rename() {
var attributes = secret.attributes
attributes.publicKeyAttribution = publicKeyAttribution
attributes.publicKeyAttribution = publicKeyAttribution.isEmpty ? nil : publicKeyAttribution
Task {
do {
try await store.update(secret: secret, name: name, attributes: attributes)