Trim whitespace from Import server config (#9341)
This commit is contained in:
parent
0b3e7bf33e
commit
a8f1a66043
@ -184,7 +184,7 @@ List<Widget> ServerConfigImportExportWidgets(
|
|||||||
) {
|
) {
|
||||||
import() {
|
import() {
|
||||||
Clipboard.getData(Clipboard.kTextPlain).then((value) {
|
Clipboard.getData(Clipboard.kTextPlain).then((value) {
|
||||||
importConfig(controllers, errMsgs, value?.text);
|
importConfig(controllers, errMsgs, value?.text.trim());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user