opt.: cancel sftp mission

This commit is contained in:
lollipopkit
2023-07-29 18:24:22 +08:00
parent e13c5910ec
commit 0f83d10bfa
12 changed files with 277 additions and 230 deletions

View File

@@ -291,9 +291,8 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
pwd: authorization,
pubKeyId: usePublicKey ? _keyInfo!.id : null,
tags: _tags,
alterUrl: _alterUrlController.text == ''
? null
: _alterUrlController.text,
alterUrl:
_alterUrlController.text == '' ? null : _alterUrlController.text,
);
if (widget.spi == null) {